Multiple Choice
What will be the output of the following program?
A) compilation error: display() cannot be accessed in application
B) compilation error:test class object cannot be accessed in function demo
C) compilation error: variable x is private in test
D) both a and b
Correct Answer:

Verified
Correct Answer:
Verified
Q8: You should prefer C-strings to the Standard
Q9: What value will be printed for data.i?<br>A)10
Q10: When a function returns a value, the
Q11: What will be the output of the
Q12: Which of the following feature is not
Q14: The operators that cannot be overloaded is<br>A)*<br>B)-<br>C)::<br>D)()
Q15: When an argument is passed by reference<br>A)a
Q16: A static local variable is used to<br>A)make
Q17: What is the compilation error for this
Q18: Objects of the string class<br>A)are zero-terminated.<br>B)can be