Vidyalelo
C++ Programming · Q300

C++ miscellaneous

Programming · C++ Programming · question 300

Q300

What will be the output of the following C++ code? #include using namespace std; int main () int n; n = -77; cout.width(4); cout << internal << n << endl; return 0;

A.
77
B.
-77
C.
– 77
Answer
D.
None of the mentioned

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board