C Programming MCQs with answers Page - 18

Here, you will find a collection of MCQ questions on C Programming. Go through these questions to enhance your preparation for upcoming examinations and interviews.

To check the correct answer, simply click the View Answer button provided for each question.

Have your own questions to contribute? Click the button below to share your MCQs with others!

+ Add Question

A

Admin • 833.24K Points
Coach

Q. Ranges of signed int and unsigned int are?

  • (A) 0 to 65535. -32768 to +32767
  • (B) -32768 to +32767. 0 to 65535
  • (C) -32767 to +32768. 0 to 65536
  • (D) 0 to 65536. -32767 to +32768

A

Admin • 833.24K Points
Coach

Q. Size of float, double and long double in Bytes are?

  • (A) 4, 8, 16
  • (B) 4, 8, 10
  • (C) 2, 4, 6
  • (D) 4, 6, 8

A

Admin • 833.24K Points
Coach

Q. Range of float variable is.?

  • (A) -3.2e38 to +3.2e38
  • (B) -3.8e32 to +3.8e32
  • (C) -3.4e34 to +3.4e34
  • (D) -3.4e38 to +3.4e38

A

Admin • 833.24K Points
Coach

Q. Left most bit 0 in Singed representation indicates?

  • (A) A Positive number
  • (B) A Negative Number
  • (C) An Unsigned number
  • (D) None of the above

A

Admin • 833.24K Points
Coach

Q. If you do not specify a storage class for a Variable?

  • (A) You get compiler error.
  • (B) You get a compiler warning.
  • (C) Output is null always
  • (D) None of the above

A

Admin • 833.24K Points
Coach

Q. What is a C Storage Class.?

  • (A) C Storage decides where to or which memory store the variable.
  • (B) C Storage Class decides what is the default value of a variable.
  • (C) C Storage Class decides what is the Scope and Life of a variable.
  • (D) All of the above

A

Admin • 833.24K Points
Coach

Q. Every C Variable must have?

  • (A) Type
  • (B) Storage Class
  • (C) Both Type and Storage Class
  • (D) Either Type or Storage Class

A

Admin • 833.24K Points
Coach

Q. Find a C Storage Class below.

  • (A) static
  • (B) auto
  • (C) register & extern
  • (D) All of the above

A

Admin • 833.24K Points
Coach

Q. What is the default C Storage Class for a variable?

  • (A) static
  • (B) auto
  • (C) register
  • (D) extern

A

Admin • 833.24K Points
Coach

Q. A register variable is stored in a Register. Where does a Register Present in a Computer?

  • (A) RAM ( Random Access Memory )
  • (B) ROM ( Read Only Memory )
  • (C) CPU (Central Processing Unit )
  • (D) DMA ( Direct Memory Access )

Add MCQ in this Category

If you want to share an MCQ question in this category, it's a great idea! It will be helpful for many other students using this website.

Share Your MCQ