Q101
What will be the output of the following C++ code? #include using namespace std; int main() typedef int num; num a = 10, b = 15; num c = a + b + a - b; cout << c; return 0;
A.
20
AnswerB.
15
C.
30
D.
25
Answer: Option A
Solution
Answer: Option A
No explanation is given for this question Let's Discuss on Board