C Programming Variable Naming

Which of the following does NOT qualify to be the name of a variable in C language?

مندرجہ ذیل میں سے کون سی زبان میں متغیر کا نام بننے کے اہل نہیں ہے؟
Answer: "define"
Explanation

"define" is a reserved keyword in C, used in preprocessor directives (e.g., #define) and cannot be used as a variable name.

Variable names like "address", "name", and "age" are valid as they follow C naming rules and aren't reserved.

This question appeared in Past Papers (5 times)
ETEA 25 Years Past Papers Subject Wise (Solved) (2 times)
KPK Teacher Past Papers SST PST CT TT PET (2 times)
This question appeared in Subjects (1 times)

Install this app on your device for quick access right from your home screen.