What will be the output of the following C++ code snippet? #include <iostream>…
What will be the output of the following C++ code snippet?
#include <iostream>
using namespace std;
int main() {
int a = 25, b = 14;
cout << a << " + " << b << " = " << a + b;
return 0;
}- A.
14 + 12 = 25
- B.
14 - 0 = 14
- C.
25 + 14 = 39
- D.
Compilation Error
- E.
Syntax Error
Attempted by 134 students.
Sign up free to check your answer
Sign up freeLoading lesson…

