Vidyalelo
C++ Programming · Q76

Functions and Procedures in C++

Programming · C++ Programming · question 76

Q76

What will be the output of the following C++ code? #include using namespace std; #define PR(id) cout << "The value of " #id " is "<<id int main() int i = 10; PR(i); return 0;

A.
10
Answer
B.
15
C.
20
D.
12

Answer: Option A

Solution

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