Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and medical aesthetics - In C language, integers are not assigned. What happens if you judge?
In C language, integers are not assigned. What happens if you judge?
int h; The integer variable h is declared, but it is not assigned a value.

if(); It is also a logical judgment. At this time, the system will randomly assign a value to H, which is non-zero and H is not controlled, so the sub-statement is executed.

Printf ("Judge whether H is control! \ n ");

Program result output:

Judge whether H is in control!