printf Precision « printf scanf « C Tutorial






4.9.printf Precision
4.9.1.For floating arguments, precision indicates how many digits are printed after decimal points.
4.9.2.Precision
4.9.3.Using precision while printing integers, floating-point numbers, and strings