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
Comments
Leave a comment