Multiple choice

Which of the following is not an identifier?

  1. Area_of_circle

  2. Pi-value

  3. 4th semester

  4. Count2

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

In programming, identifiers cannot begin with a digit. '4th semester' starts with the number 4, making it invalid. Valid identifiers like 'Area_of_circle', 'Pi-value', and 'Count2' start with letters or underscores.