Q. What is the output of the following C++ code?
Code:
#include <iostream>
using namespace std;
int main()
{
void x = 5, y = 5;
int s;
s = x + y;
cout << s;
return 0;
}
β
Correct Answer: (C)
Compilation error