Which one of the following is not a valid identifier?

A. _examveda

B. 1examveda

C. exam_veda

D. examveda1

Answer: Option B

Solution(By Examveda Team)

The first character must be a letter or special symbol underscore( _ ).

Join The Discussion

Comments ( 2 )

  1. 75_Abhishek Thakur
    75_Abhishek Thakur :
    6 months ago

    Lets discuss its defination,
    Identifier are used for naming variables, functions and arrays.
    Note: 1) They must not begin with a digit.
    2) First character must be a letter.
    3) They may also begin with an underscore(_)

  2. Shyama Sundar
    Shyama Sundar :
    5 years ago

    option B

Related Questions on C Fundamentals