参考手册
参考手册
实例 C 语言用逗号分隔的列表声明许多相同类型的变量
源代码
运行代码
#include <stdio.h> int main() { int x = 5, y = 6, z = 50; printf("%d", x + y + z); return 0; }
x
#include <stdio.h>
int
main
() {
int
x
=
5
,
y
=
6
,
z
=
50
;
printf
(
"%d"
,
x
+
y
+
z
);
return
0
;
}
输出结果
61