Answer to Question #12919 in C++ for shalennee

Question #12919
Write down the output for the following program segment:
i += 3;
j ++;
--k;
cout << i << '\t' << j << '\t' << k << endl;
cout << fixed << showpoint << setprecision(4);
cout << x << endl;
1
Expert's answer
2012-08-10T09:46:21-0400
If int i=0;
int j=0;
int k=3;
double x=4.35678; , then
otput is: 3 1 2
4.3568

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS