C语言开发示例:15. goto语句
2024-07-10 09:52:27 2025-02-01 20:04:31 李腾 23 次阅读 0 次点赞
goto.c
#include <stdio.h>
int main()
{
int a = 2;
there:
a += 2;
if (a > 10)
{
goto end;
}
else
{
goto there;
}
end:
printf("end");
}
本文由人工编写,AI优化,请仔细甄别,转载请注明转自www.hylab.cn,原文地址:C语言开发示例:15. goto语句