Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and medical aesthetics - C language variable type problem
C language variable type problem
Integer, of course, only integer data can be saved. If an integer read encounters. In 8.6, it will stop reading. If the value of a is only 8.

What data to write depends on the description in the format string. "%d" means that an integer is needed, and the bottom layer will gradually take characters from the middle control until the value is taken. Each type of value logic is different.