puts 与 printf
printf("C语言");int abc=999;
printf("%d", abc);int abc=999;
printf("The value of abc is %d !", abc);The value of abc is 999 !格式控制符
各种整数的输出
Last updated
printf("C语言");int abc=999;
printf("%d", abc);int abc=999;
printf("The value of abc is %d !", abc);The value of abc is 999 !Last updated
int a=100;
int b=200;
int c=300;
printf("a=%d, b=%d, c=%d", a, b, c);a=100, b=200, c=300