in Object Oriented Programming retagged by
1,319 views
0 votes
0 votes

The IOS class member function used for formatting IO is

  1. width(), precision(), read()
  2. width(), precision(), setf()
  3. getch(), width(), Io()
  4. unsetf() ,setf(), write()
in Object Oriented Programming retagged by
by
1.3k 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

by
Answer:

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true