「C言語/記法」の版間の差分
削除された内容 追加された内容
→前処理数: ln タグ: 2017年版ソースエディター |
{{See|C言語/制御文#break文}} etc. タグ: 2017年版ソースエディター |
||
452 行
=== 式文 ===
式文( ''Expression and null statements'' )の中の式は、その副作用としてvoid式として評価されます
<ref name="jtc1-sc22-wg14-n1570-6.8.
| url = http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1570.pdf
| title = N1570 Committee Draft — April 12, 2011 ISO/IEC 9899:201x
482 行
==== if 文 ====
{{See|C言語/制御文#if文}}
==== swicth 文 ====
{{See|C言語/制御文#switch文}}
=== 繰返し文 ===
489 ⟶ 492行目:
| url = http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1570.pdf
| title = N1570 Committee Draft — April 12, 2011 ISO/IEC 9899:201x
| page = 150, §6.8.
| publisher = ISO/IEC}}</ref>。
for文の宣言部では、記憶クラスが auto または register であるオブジェクトの識別子のみ宣言が可能です。
506 ⟶ 509行目:
==== while 文 ====
{{See|C言語/制御文#while文}}
==== do 文 ====
{{See|C言語/制御文#do文}}
==== for 文 ====
{{See|C言語/制御文#for文}}
=== 分岐文 ===
526 ⟶ 534行目:
==== goto 文 ====
{{See|C言語/制御文#goto文}}
==== continue 文 ====
{{See|C言語/制御文#continue文}}
==== break 文 ====
{{See|C言語/制御文#break文}}
==== return 文 ====
{{See|C言語/制御文#return文}}
== 脚
<references/>
== 参考文献 ==
* 国際標準化機構/国際電気標準会議 [https://www.iso.org/obp/ui/#iso:std:iso-iec:9899:ed-4:v1:en ISO/IEC 9899:2018(en) Information technology — Programming languages — C](2018-07-05)
*日本工業標準調査会(当時、現:日本産業標準調査会)『JIS X 3010 プログラム言語C』2003年12月20日改正
|