ACtE08 · Chapter 8Mock Test 04🏛️ Past Licensure QuestionID: 5aa2747f
All keywords in the C programming language are written in:
All keywords in the C programming language are written in:
Multiple Choice Options
- A✓ Correct Option
Lowercase letters
- B
Uppercase letters
- C
CamelCase letters
- D
Can be any combination of cases
Detailed Technical Solution & Explanation
C is a strictly case-sensitive language according to ANSI/ISO C standards. All reserved keywords in C (such as int, return, while, if, sizeof, struct) are defined exclusively in lowercase letters. If an uppercase or mixed-case variant is used (e.g., Int or WHILE), the C compiler treats it as a user-defined identifier rather than a language keyword.
Option Analysis:
•
Option A (Lowercase letters): Correct; all 32 standard C keywords (and extended C99/C11 keywords) are strictly lowercase.
•
Option B (Uppercase letters): Incorrect; uppercase tokens are conventional for preprocessor macros (e.g.,
#define MAX 100), not keywords.•
Option C (CamelCase letters): Incorrect; C keywords never use camelCase.
•
Option D (Can be any combination of cases): Incorrect; C is case-sensitive, so case cannot vary.
Reference: Mock Test 04NEC Licensure Syllabus