C - Elements of C Language Questions and Answers
The Elements of C Language questions with answers cover the fundamental building blocks of C programming, including variables, data types, operators, and control structures. These programming questions and answers are ideal for beginners aiming to strengthen their coding foundation. Each question is designed to test conceptual clarity and coding accuracy, commonly seen in TCS, Wipro, and Infosys placement exams. With explanations and examples, these MCQs help learners prepare effectively for both academic tests and real-world programming challenges.
C - Elements of C Language
Showing 10 of
58 questions
21. A character constant is written within
- double quotes
- single quotes
- options a and b
- none of the above
22. String constants are represented within
- single quotes
- double quotes
- options a and b
- \* and *\
29. Identify the invalid string constant .
- "\t 10\t 15t"
- "cost = 90\x24\n"
- "\n Don't care condition "
- ' C is flexible'
30. If a constant is given a name it becomes
- a string consant
- manifest
- const declaration
- invalid