Answers to questions on identifiers
- Which of the following is legal and which is not as a C identifier:
- 12PipersPiping
Illegal, starts with a digit.
- The12thDayOfChristmas
Legal, matches definition.
- _syscall
Legal, underscore is allowed anywhere in an identifier.
- $bill
Illegal, dollar is not a legal character in an identifier.
The questions
Back to the notes on identifiers