C - Elements of C Language Questions and Answers

Take Exam

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

11.  The qualifier that may precede float is 

  • signed
  • unsigned
  • long
  • none of the above
Show Answer Report

12.  The qualifie that may precede double is 

  • signed
  • unsigned
  • options a and b
  • none of the above
Show Answer Report

13.  The qualifier that may precede double is

  • signed
  • unsigned
  • short
  • long
Show Answer Report

14.  Printable characters always use 

  • negative ntegers
  • positive integers
  • both positive and negative integers
  • -1
Show Answer Report

15.  Integral data type includes 

  • enum
  • int
  • char
  • all the above
Show Answer Report

16.  Which is not a valid integer constant ?

  • 600000 u
  • 534878 ul
  • 0Xabpq
  • 0X625
Show Answer Report

17. Which is not a valid floatng constant ?

  • 4E -6f
  • 4E - 12
  • 0.08e - 4
  • 1.3345F
Show Answer Report

18.  Identify the Octal constant 

  • 627
  • OX25
  • -0756
  • 06.52
Show Answer Report

19.  An octal constant is preceded by 

  • X
  • OX25
  • 0 (alphabet)
  • 0 (zero)
Show Answer Report

20.  A hexa constant is preceded by 

  • OX
  • 0
  • HX
  • 0
Show Answer Report
Questions and Answers for Competitive Exams Various Entrance Test