Need to select one most accurate answer but i am confuse in A and C because according to given question , output should be like 0000000025. but which option is more accurate ?


  1. setw(10) << setfill(‘0’)
  2. setw(10) << right < 25
  3. setw(10) << right << setfill(‘0’)
  4. right << setw(10) << setfill(‘0’)`

I am thinking both option A and C is correct. But please tell me one most accuarte one , i did not able to identify.

New contributor

knorr-bremse is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.


Khám phá các thẻ bài đăng