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
Answer: Option B
Join The Discussion