MCQOPTIONS
Bookmark
Saved Bookmarks
→
Maharashtra CET
→
MHT-CET 2017
→
Comment on the following code?
1.
Comment on the following code?
A.
No output on execution
B.
Output as 1
C.
Output as 2
D.
Compile time error
Answer» E.
Show Answer
Discussion
No Comment Found
Post Comment
Related MCQs
In context of C++, consider the following statements:I. Friend function of a class can directly access both private and protected data of the class.II. Member function of derived class can directly access both private and protected data of the class.The true statement(s) is / are:
What will be printed when this program is executed?
What will be the output of the following program code?
What is the result of compiling and running this code?
What is the output of the program ?
Point out the error in the following program (if it is compiled with Turbo C compiler).
What will happen after compiling and running following code?
Comment on the following code?
Guess output of program -
What will be the output of the following program ?
Reply to Comment
×
Name
*
Email
*
Comment
*
Submit Reply
Your experience on this site will be improved by allowing cookies. Read
Cookie Policy
Reject
Allow cookies