Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and beauty - What does "int a=2,b;" mean in C language? Please give me some advice. I am a student and just learned C language. Thank you!
What does "int a=2,b;" mean in C language? Please give me some advice. I am a student and just learned C language. Thank you!

Define two integer variables named a and b.

The computer will assign addresses to them, occupying two bytes respectively.

A and The value range of b is between -32768 and 32767,

where a=2 is to assign an initial value to a, and the value of the a variable is 2,

meaning a+ The value of a is 4.

If the statement a+=2 is executed, it means the auto-increment change of a=a+2.

The value of a after execution is 4.

Hope it helps.