Programming Language C++ MCQ SET-35

C++ Computer Programming Language MCQ #SET-35-----All Exam Master

C++ Computer Programming Language MCQ #SET-35

This webpage contains top 10000 real MCQ on C++ commonly asked qustions in IT interviews.


Top 10000 Computer Programming Language C++ MCQ

Question 1-10

Question : 1

Can member functions of one class be friend functions of another class?

[A].  Yes
[B].   No

Question : 2

Can we create our own workspace?

[A].  Yes
[B].   No

Question : 3

 If a class contains static variable, then every object of the class has its copy of static variable.

[A].   True
[B].   False

Question : 4

Is it possible to define a constructor with default arguments?

[A].  Yes
[B].   No

Question : 5

Is const better than #define?

[A].  Yes
[B].   No

Question : 6

Can we have Pure Virtual Destructor?

[A].  Yes
[B].   No

Question : 7

Default values for a function are need to be specified from left to right only.

[A].   True
[B].   False

Question : 8

Static variable must be declared in public section of the class.

[A].   True
[B].   False

Question : 9

 Can we have overloading of the function templates?

[A].  Yes
[B].   No

Question : 10

Can we create pointer to Abstract class?

[A].  Yes
[B].   No



********************************************

Click >>Go to Next Set>>>

********************************************



No comments:

Post a Comment