1 #include <stdio.h>
 2 #include <stdlib.h>
 3 int main(void) 
 4 {   
 5     int a=666;
 6     int b=888;
 7 
 8     printf(" %d\n ", a,b);
 9     printf(" %d\n", (a,b));
10 
11     system("pause");
12     return 0;
13 }

line 9 括号里是一个逗号表达式,而逗号表达式的值是最后一个表达式的值

输出结果为:

 666

 888

相关文章:

  • 2022-12-23
  • 2021-05-30
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-07-26
  • 2022-03-06
相关资源
相似解决方案