C Quiz – 103 | Question 5

3.2

As per C language standard, which of the followings is/are not keyword(s)? Pick the best statement.

auto
make
main
sizeof
elseif
(A) None of the above is keywords in C.
(B) make main elseif
(C) make main
(D) auto make
(E) sizeof elseif make


Answer: (B)

Explanation: “auto” is a storage specifier defined in C language. “sizeof” is unary operator defined in C language. Both of these are reserved words i.e. keywords as per C language standard. All the other 3 i.e. main make and elseif aren’t keywords. In fact, you can use int main, make, elseif; in your C program.

Quiz of this Question

GATE CS Corner    Company Wise Coding Practice

Recommended Posts:



3.2 Average Difficulty : 3.2/5.0
Based on 4 vote(s)










Writing code in comment? Please use ide.geeksforgeeks.org, generate link and share the link here.