Is “else if” a single keyword?

后端 未结 8 1968
忘了有多久
忘了有多久 2021-01-31 01:13

I am new to C++. I often see conditional statement like below:

if 
  statement_0;
else if
  statement_1;

Question:

Syntacticall

8条回答
  •  情歌与酒
    2021-01-31 01:24

    I would just like to add my point of view to all these explanations. As I see it, if you can use these keywords separately, they must be TWO keywords. Maybe you can have a look at c++ grammar, from this link in stackoverflow: Is there a standard C++ grammar?

    Regards

提交回复
热议问题