retagged by
1,319 views

1 Answer

2 votes
2 votes

Option (B) width(), precision(), setf()

Few standard IOS class functions are:

  1. width(): The width method is used to set the required field width. The output will be displayed in the given width
  2. precision(): The precision method is used to set the number of the decimal point to a float value
  3. fill(): The fill method is used to set a character to fill in the blank space of a field
  4. setf(): The setf method is used to set various flags for formatting output
  5. unsetf(): The unsetf method is used To remove the flag setting

https://www.geeksforgeeks.org/formatted-i-o-in-c/#:~:text=Formatting%20using%20the%20ios%20members%3A&text=Few%20standard%20ios%20class%20functions,point%20to%20a%20float%20value

Answer:

Related questions

0 votes
0 votes
1 answer
1
admin asked Mar 31, 2020
6,444 views
Given a class named student, which of the following is a valid constructor declaration for the class?Student student(){}Private final student(){}Student(student s){}Void ...
0 votes
0 votes
1 answer
2
admin asked Mar 31, 2020
977 views
An object can have which of the following multiplicities?ZeroMore than oneOneAll of the above
0 votes
0 votes
1 answer
3
0 votes
0 votes
1 answer
4
admin asked Mar 31, 2020
3,710 views
Object oriented inheritance models:"is a kind of" relationship."has a" relationship."want to be" relationship."contains" of relationship.