Question: Which is true about the following statement? int num 1 = 4 6 ; cout setw ( 4 ) num 1 . ; It

Which is true about the following statement?
int num1=46;
cout setw(4) num1".;
It displays 46. preceded by two spaces.
It outputs: setw(4)46.
It should use setw(10) to output the value in the variable num10.
It sets setw to 0046
None of these
Which is true about the following statement? int

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!