code
#include <stdio.h>
int main(void)
{
int a=2;
float b=9.99f;
printf("1:%d\n",a,b);
printf("2:%d、%f、%f\n",a);
return 0;
}
compilation option
The GCC compilation option is GCC -m32 test.c -o test
The output
$./test
1:2 2:2、9.990000
doubt
In the second printf statement, there is only one expression, a, but it prints the values of two variables