for循环的基本语法 在C语言中,for循环通常用于已知循环次数的情况。基本语法结构如下: for (初始化表达式; 条件表达式; 更新表达式) { // 循环体 } 示例1:简单数字打印 打印数字1到5: #include <stdio.h> int