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.

  1. A.

    Only I

  2. B.

    Only II

  3. C.

    Both I and II

  4. 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.

Explore the full course: Up Lt Grade Assistant Teacher 2025