Choose the correct description for control string %-+7.2f.
A) - means display the sign, + means left justify, 7 specifies the width and 2 specifies the precision
B) - means left justify, + means display the sign, 7 specifies the width and 2 specifies the precision
C) - means display the sign, + means left justify, 7 specifies the precision and 2 specifies the width
D) - means left justify, + means display the sign, 7 specifies the precision and 2 specifies the width
Correct Answer:
Verified
Q32: What symbol is used to Left-justify within
Q33: What specifies the minimum number of characters
Q34: The maximum number of characters to be
Q35: _is used to define the type and
Q36: A conversion specification %7.4f means _
A)print a
Q38: What error is generated on placing an
Q39: If by mistake you specify more number
Q40: What happens when zero flag is used
Q41: For floating point numbers, the precision flag
Q42: What will the given code result in
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents