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)
ETEA Past Papers (1 times)
KPK Teacher Past Papers SST PST CT TT PET (2 times)
This question appeared in
Subjects (1 times)
COMPUTER (1 times)
Related MCQs
- Which of the following is TRUE for a variable defined with the keyword const and initialized to a value in C language?
- The effect of independent variable on dependent variable is studied in?
- The dependence of a variable on two or more than two independent variable, the relation is said to be _____?
- If a variable 'y' depends upon a variable 'x' in such a way that each value of 'x' determines exactly one value of 'y', then we say that
- Language learning processes, like how language is acquired, how language is stored in the brain, how language is accessed and processed by the brain, are studied under?
- Which of these countries did not qualify the ICC Men's World Cup 2023?
- Although they won the match, _________ they could not get enough points to qualify for the final.
- The qualify of test that measures “what it claims to measure” is?
- The candidates ________ the written exam to qualify for an interview.
- Who became the first-ever Pakistani athlete to qualify for a track and field final at the Olympics?