Q587
What will be the output of the following C++ code? #include using namespace std; int main () char str[] = "Steve jobs"; int val = 65; char ch = 'A'; cout.width (5); cout << right; cout << val << endl; return 0;
A.
Steve jobs
B.
A
C.
65
D.
65
AnswerAnswer: Option D
Solution
Answer: Option D
No explanation is given for this question Let's Discuss on Board