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 //
πŸ’¬ Discuss
βœ… Correct Answer: (A) Digraph <: represents [ Digraph :> represents ] Digraph <% reprsents { Digraph %> reprsents } Digraph %: represents # Digraph %:%: represents ##

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
πŸ’¬ Discuss
βœ… Correct Answer: (D) All of the above

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
πŸ’¬ Discuss
βœ… Correct Answer: (D) All of the above

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
πŸ’¬ Discuss
βœ… Correct Answer: (A) 31

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
πŸ’¬ Discuss
βœ… Correct Answer: (B) 63

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
πŸ’¬ Discuss
βœ… Correct Answer: (D) Option A & Option B

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
πŸ’¬ Discuss
βœ… Correct Answer: (D) All of the above

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
πŸ’¬ Discuss
βœ… Correct Answer: (D) Primary Constants and Secondary Constants

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.
πŸ’¬ Discuss
βœ… Correct Answer: (A) A constant value does not change. A variable value can change according to needs.

Q. Find an integer constant.

  • (A) 3.145
  • (B) 34
  • (C) "125"
  • (D) None of the above
πŸ’¬ Discuss
βœ… Correct Answer: (B) 34