Q. Range of signed char and unsigned char are.?

  • (A) 128 to +127. 0 to 255
  • (B) 0 to 255. -128 to +127
  • (C) -128 to -1. 0 to +127
  • (D) 0 to +127. -128 to -1
πŸ’¬ Discuss
βœ… Correct Answer: (A) 128 to +127. 0 to 255

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
πŸ’¬ Discuss
βœ… Correct Answer: (B) -32768 to +32767. 0 to 65535

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

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
πŸ’¬ Discuss
βœ… Correct Answer: (D) -3.4e38 to +3.4e38

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

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

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

Q. Every C Variable must have?

  • (A) Type
  • (B) Storage Class
  • (C) Both Type and Storage Class
  • (D) Either Type or Storage Class
πŸ’¬ Discuss
βœ… Correct Answer: (C) Both Type and Storage Class

Q. Find a C Storage Class below.

  • (A) static
  • (B) auto
  • (C) register & extern
  • (D) All of the above
πŸ’¬ Discuss
βœ… Correct Answer: (D) All of the above

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

  • (A) static
  • (B) auto
  • (C) register
  • (D) extern
πŸ’¬ Discuss
βœ… Correct Answer: (B) auto