Which of the following is not Reserve word in C language
1.for
2.goto
3.switch
4.doo
Answers
- Which of the following is not a Reserve word in C language?
Given options,
- for
- go to
- switch
- doo
Here, doo is not a reserve keyword in C language.
There are a total of 32 keywords in C language.
- The C programming language was developed by Dennis Ritchie.
- It is a procedural oriented programming language.
- It is one of the most widely used programming language.
doo is not a reserve word in C language.
Option 4 is correct.
Given:
- Which of the following is not a reserve word in C language ?
- 1.for
- 2.goto
- 3.switch
- 4.doo
To find:
- Find the correct option.
Solution:
doo is not a reserved word in C language.
Option 4 is correct.
The correct reserved word is 'do'.
for, goto and switch are the reserved words of C language.
Extra information on reserved words:
- In a programming language like C, C++, Java, some words are reserved and they are known as keywords.
- We cannot use them as a name of variable, function, constant and any other identifier.
- Reserve words can't be abbreviated as well.
Some keywords are:
int, float, extern, const, double, return, short, case, if, while, void etc.
Thus,
doo is not a reserve word in C language.
Option 4 is correct.
Learn more:
1) In IF --- THEN statement ______ part of statement is optional.
https://brainly.in/question/40159635
2)All variables must be declared before they are used in the program. State whether the statement is True (or) False And J...
https://brainly.in/question/5900756
#SPJ3