C Programming MCQs with answers Page - 15

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. Choose the correct answer.?

  • (A) Digraph <: represents [ Digraph :> represents ] Digraph <% reprsents { Digraph %> reprsents } Digraph %: represents # Digraph %:%: represents ##
  • (B) Digraph <: represents ] Digraph :> represents [ Digraph <% reprsents { Digraph %> reprsents } Digraph %: represents # Digraph %:%: represents ##
  • (C) Digraph <: represents ] Digraph :> represents [ Digraph <% reprsents } Digraph %> reprsents { Digraph %: represents $ Digraph %:%: represents $$
  • (D) Digraph <: represents { Digraph :> represents } Digraph <% reprsents [ Digraph %> reprsents ] Digraph %: represents / Digraph %:%: represents //

A

Admin • 833.24K Points
Coach

Q. What is an Identifier in C Language?

  • (A) Name of a Function or Variable
  • (B) Name of a Macros
  • (C) Name of Structure or Union
  • (D) All of the above

A

Admin • 833.24K Points
Coach

Q. An Identifier may contain?

  • (A) Letters a-z, A-Z in Basic character set. Unicode alphabet characters other languages
  • (B) Underscore _ symbol
  • (C) Numbers 0 to 9 Unicode Numbers in other languages
  • (D) All of the above

A

Admin • 833.24K Points
Coach

Q. What is the number of characters used to distinguish Identifier or Names of Functions and Global variables.?

  • (A) 31
  • (B) 32
  • (C) 33
  • (D) 28

A

Admin • 833.24K Points
Coach

Q. What is length of an Identifier that is unique for Non Global Variables and Non Function Names.?

  • (A) 32
  • (B) 63
  • (C) 64
  • (D) 68

A

Admin • 833.24K Points
Coach

Q. An Identifier can start with.?

  • (A) Alphabet
  • (B) Underscore ( _ ) sign
  • (C) Any character that can be typed on a keyboard
  • (D) Option A & Option B

A

Admin • 833.24K Points
Coach

Q. C Programs are used in?

  • (A) Any Electronic device which works on some logic and Operating System.
  • (B) Washing machine
  • (C) Fridge, Microwave Ovens
  • (D) All of the above

A

Admin • 833.24K Points
Coach

Q. What are the types of Constants in C Language?

  • (A) Primary Constants
  • (B) Secondary Constants
  • (C) Basic Constants and Advanced Constants
  • (D) Primary Constants and Secondary Constants

A

Admin • 833.24K Points
Coach

Q. Choose correct statements

  • (A) A constant value does not change. A variable value can change according to needs.
  • (B) A constant can change its values. A variable can have one constant value only.
  • (C) There is no restriction on number of values for constants or variables.
  • (D) Constants and Variables can not be used in a single main function.

A

Admin • 833.24K Points
Coach

Q. Find an integer constant.

  • (A) 3.145
  • (B) 34
  • (C) "125"
  • (D) None of the above

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