Which statement(s) is/are true about formation of identifier in C? I. It…
2021
Which statement(s) is/are true about formation of identifier in C? I. It consist of alphabets, digits and underscore. II. An identifier can start with an underscore.
- A.
Only I
- B.
Only II
- C.
Both I and II
- D.
Neither I nor II
Attempted by 944 students.
Show answer & explanation
Correct answer: C
C identifiers allow alphabets, digits, and underscores only. They may start with an underscore but not a digit. Both statements correctly reflect these standard C syntax rules.