McqMate
Sign In
Hamberger menu
McqMate
Sign in
Sign up
Home
Forum
Search
Ask a Question
Sign In
McqMate Copyright © 2026
→
Computer Science Engineering (CSE)
→
Object Oriented Programming (OOP)
→
What is the output of the program?
Q.
What is the output of the program?
A.
0 0
B.
x = 0 y = 0
C.
0
D.
compilation error
Answer» D. compilation error
1.2k
0
Do you find this helpful?
1
View all MCQs in
Object Oriented Programming (OOP)
Discussion
No comments yet
Login to comment
Related MCQs
Which of the following interface determines how your program will be used by other program?
What will be the output of the program?
What will be the output of the following program?
What will be the output of following program? #include <iostream> using namespace std; class Test{ public: Test() { cout <<"Hello from Test() "; } } a; int main() { cout <<"Main Started "; return 0; }
Predict the output of following C++ program #include<iostream> using namespace std; class Empty {}; int main() { cout <<sizeof(Empty); return 0; }
Output of following program? #include<iostream> using namespace std; class Point { Point() { cout <<"Constructor called"; } }; int main() { Point t1; return 0; }
Dividing a program into functions
When arguments are passed by value, the function works with the original arguments in the calling program.
What is the compilation error for this program?
Which of the following feature of procedure oriented program is false?