Home > Back-end >  The scanf () format specifier
The scanf () format specifier

Time:11-05

When can the scanf () format specifier ligatures?
For example,
# define _CRT_SECURE_NO_WARNINGS 1
#include
Void main ()
{
Char c;
Int the age, the hi;
Float s;
Printf (" Input Type, Age, Height, Point: \ n ");
The scanf (" % d % d % % c f ", & amp; C., & amp; Age, & amp; Hi, & amp; s);
Printf (" Type: % \ tAge c=% d, Height=% DCM, Point=%. 2 f \ n ", c, the age, hi, s);
}
  • Related