Questionbank CPP
Questionbank CPP
9) Which of the following statements are true with respect to the use of friend keyword \
Inside a class?
a) A private data member can be declared as a friend
10) What are the functions that can have access to the protected members of a class?
17) Which of the following way is legal to access a class data member using the this
Pointer?
19) C++ program can not run if __________ function not in the program.
25) Which value will it take when both user and default values are given?
a) user value
b) default value
c) custom value