Vidyalelo
C++ Programming · Q996

C++ miscellaneous

Programming · C++ Programming · question 996

Q996

What will be the output of the following C++ code? #include using namespace std; int main() unsigned long x = 64; cout << x << oct << x << endl; return 0;

A.
64100
Answer
B.
48
C.
345
D.
496

Answer: Option A

Solution

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