New course! Every coder should learn Generative AI!
Try a free lesson0
What is use of setw() command
3 Answers
+ 6
Assuming that you are talking about C++, it is used to set the field width.
https://www.geeksforgeeks.org/stdsetbase-stdsetw-stdsetfill-in-cpp/amp/
0
Right