Question discussion

Which statement(s) is/are true about formation of identifier in C?I. It consist of alphabets, digits and underscore.II. An identifier can s…

359810Medium DSSSB TGT Computer Science 0 replies 0 views
0

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.

  • AOnly I
  • BBoth I and II
  • CNeither I nor II
  • DOnly II
Correct answer: B

Explanation

A C identifier is made of letters, digits and underscore, and it can begin with a letter or an underscore. So both statements are true.

Discussion 0

Nobody has replied yet. Start the discussion!