Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and beauty - C language problem: define three integer variables a, b a, b, sum. Assign values to A and B respectively12,34, find the sum of A and B and store it in SUM, and finally use a printf?
C language problem: define three integer variables a, b a, b, sum. Assign values to A and B respectively12,34, find the sum of A and B and store it in SUM, and finally use a printf?
The code is as follows:

# include & ltstdio.h & gt

int main()

{

int a,b,sum

a = 12;

b = 34

sum = a+b;

printf("%d %d %d\n ",

a,b,sum);

Returns 0;

}

Run the screenshot as shown below: