Explore topic-wise MCQs in C++ Programming.

This section includes 1 Mcqs, each offering curated multiple-choice questions to sharpen your C++ Programming knowledge and support exam preparation. Choose a topic below to get started.

1.

What is the output of this program?
#include 
using namespace std;
int glob = 12;
int main()
{
int p;
{
int q;
q = 13;
p = 25;
global = 35;
cout << q< }
p = 20;
cout < return 0;
}

A. 25 35 20 35
B. 35 20 35
C. Compilation Error
D. 13 25 35 20 35
E. None of these
Answer» E. None of these