Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and medical aesthetics - In C language, when input from the keyboard, integer variables can't input real values, but real values can only be input. Is this correct? Why? thank you
In C language, when input from the keyboard, integer variables can't input real values, but real values can only be input. Is this correct? Why? thank you
wrong

Plastic surgery can participate in real calculations. Enter a marked as a.0 (all languages are acceptable).

Sometimes integer variables can still receive characters through this character receiving function, such as: int c;; c = getchar(); The c here should be defined as a character. .