C Language

11. Which is not the valid integer:

  1. 345
  2. 345UL
  3. 123U
  4. 123

Correct answer: (D)
123

12. Which is the invalid octal:

  1. 346
  2. 452
  3. 255
  4. 840

Correct answer: (D)
840

13. Which is invalid hexadecimal:

  1. 0x345
  2. 0xA132
  3. 0xG120
  4. 0x452F

Correct answer: (C)
0xG120

14. The ASCII value of Y:

  1. 88
  2. 89
  3. 90
  4. 91

Correct answer: (B)
89

15. Which is not the fundamental data types:

  1. Char
  2. Array
  3. Int
  4. Float

Correct answer: (B)
Array

16. Variable is a:

  1. Location in memory
  2. Location in CPU Registers
  3. Both
  4. None of these

Correct answer: (C)
Both

17. Which is not the type of variable

  1. Extrern
  2. Register
  3. Global
  4. None of above

Correct answer: (D)
None of above

18. Which is the invalid identifiers name:

  1. Pushp1
  2. _pushp
  3. 1Pushp
  4. pushp_infotech

Correct answer: (C)
1Pushp

19. int can store:

  1. Real numbers
  2. Characters
  3. String
  4. None of these

Correct answer: (D)
None of these

20. Which is not the type of variable initializations:

  1. Static
  2. Dynamic
  3. Both
  4. None of these

Correct answer: (C)
Both

Page 2 of 8