36) Which of the following is not used to seek a file pointer?

A. ios::cur

B. ios::set

C. ios::end

D. ios::beg

Answer : B

37) During dynamic memory allocation in CPP, new operator returns _________ value if memory allocation is unsuccessful.

A. False

B. NULL

C. Zero

D. None of these

Answer : B

38) We can create objects of the abstract class.

A. True

B. False

Answer : B

39) Which of the followings is/are pointer-to-member declarator?

A. ->*

B. .*

C. ::*

D. both a and b

Answer : C

40) Default value of static variable is_____ .

A. 0

B. 1

C. Garbage value

D. Compiler dependent

Answer : A

error: Content is protected !!