Home / Programming MCQs / C++ MCQs / Question
R
Q. What is the output of this program?
#include using namespace std; enum boy { num = 20 }; int main() { int age = 100; age /= num; cout << "If you were boy, you would be " << age << endl; return 0; }
No solution found for this question.
Add Solution and get +2 points.
You must be Logged in to update hint/solution
Which of the following escape sequence represents tab?
Constructors have _____ return type.
A void pointer can point to what type of objects?
What is the use of this pointer in C++?
What is the output of this program?
Which function is used to write a single character to the console in C++?
Which variable does equals in size with enum variable?
Discusssion
Login to discuss.