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 )
Related Questions on C Fundamentals
What is the primary purpose of a function prototype in C?
A. Declare a variable
B. Declare a function
C. Define a function
D. Assign a value
What is the correct syntax for declaring a variable in C?
A. int variable_name;
B. variable_name = 5;
C. variable_name int;
D. int = variable_name;
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(_)
option B