76) How many specifiers are present in access specifiers in class?

A. 1

B. 2

C. 3

D. 4

Answer : C

77) How many kinds of classes are there in c++?

A. 1

B. 2

C. 3

D. 4

Answer : B

78) Which is used to define the member of a class externally?

A. :

B. ::

C. #

D. none of the mentioned

Answer : B

79 Which other keywords are also used to declare the class other than class?

A. struct

B. union

C. object

D. both a & b

Answer : D

80) Which of the following are true about static member function?

1. They can access non-static data members.

2. They can call only other static member functions.

3. They can access global functions and data.

4. They can have this pointer.

5. They cannot be declared as const or volatile.

A. Only 2

B. Only 2,5

C. Only 2,3,4,5

D. Only 2 , 3 , 5

E. All of these

Answer : D

error: Content is protected !!