编辑代码
C语言代码
gcc13.2
gcc7.5.0
clang-10
运行
#
include
<stdio.h>
int
main
()
{
int
s=
0
,i; i=
1
;
for
(;i<=
10
;) {s=s+i; i++; }
printf
(
"s=%d"
,s); }