Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
int main() { for(;;) { printf("INSIDE FOR LOOP"); return 0; } }
printf ステートメントは何回印刷されますか? なぜ?
ステートメントは 1 回印刷されます。はreturnループとプログラムを終了します。
return
条件がないため(通常はの間に入るもの;;)、永遠にループします。
;;