What will be the output of the following C++ code?
#include <iostream>
using namespace std;
int main ()
{
int n;
n = -77;
cout.width(4);
cout << internal << n << endl;
return 0;
}
#include <iostream>
using namespace std;
int main ()
{
int n;
n = -77;
cout.width(4);
cout << internal << n << endl;
return 0;
}A. 77
B. -77
C. – 77
D. None of the mentioned
Answer: Option C

Join The Discussion