Question #12928

Suppose a and b are int variables, c is a double variable, where a = 13, b = 5, and c = 17.5. What is the output of each of the following statements? (show your steps for the calculation).
cout << fixed << setw (10) << setfill (‘&’) << c << endl;

Expert's answer

Task isn't clear cause functions 'setw', 'setfill' and identifier 'fixed' are not stated.
LATEST TUTORIALS
APPROVED BY CLIENTS