Vidyalelo
C++ Programming · Q141

Functions and Procedures in C++

Programming · C++ Programming · question 141

Q141

What will be the output of the following C++ code? #include using namespace std; #define MAX 10 int main() int num; num = ++MAX; cout << num; return 0;

A.
11
B.
10
C.
compile time error
Answer
D.
13

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board