Q. What is the output of the following C++ code?
Code:#include <iostream>
using namespace std;
int main()
{
int const c = 9;
cout << ++c;
return 0;
}
β
Correct Answer: (C)
Error
#include <iostream>
using namespace std;
int main()
{
int const c = 9;
cout << ++c;
return 0;
}
You must be Logged in to update hint/solution