Aptitude Tests, Mental Ability, Objective MCQ Sets, Questions and Answers, PDF, Shortcut Tips

C++ Programming Language → Page 2

C++ Programming Language solved MCQ sets : CPP (C++) MCQ with Answer : C++ is the popular programming language for interview and is favorite topics to test knowlege of a candidated on programming concept. We are listing some selected CPP important questions on C++ Programming with answer....READ MORE


TEST INSTRUCTION: CLICK OPTION (A, B, C, D) TO SEE ANSWER.


Q.

1. ______ function is used to allocate space for array in memory.

A.
malloc()
B.
realloc()

C.
alloc()
D.
calloc()


Show Answer
Q.

2. A ponter pointing to a variable that is not initialized is called ____

A.
Void Pointer
B.
Null Pointer

C.
Empty Pointer
D.
Wild Pointer


Show Answer
Q.

3. Default constructor has ____ arguments.

A.
No argument
B.
One Argument

C.
Two Argument
D.
None of these


Show Answer
Q.

4. A class whos objects can not be created is known as _____

A.
Absurd Class
B.
Dead Class

C.
Super Class
D.
Abstract Class


Show Answer
Q.

5. Which class allows only one object to be created.

A.
Nuclear Family Class
B.
Abstruct Class

C.
Sigleton Class
D.
Numero Uno Class


Show Answer




eXTReMe Tracker