C Language

1. Which is the type of int:

  1. Int
  2. Unsigned int
  3. Long
  4. Unsigned long
  5. All of above

Correct answer: (E)
All of above

2. Which is the C IDE:

  1. GNU gcc compiler
  2. Borland C++ compiler
  3. Turbo C++ IDE
  4. Visual Studio
  5. None of these

Correct answer: (E)
None of these

3. Which is not the feature of c language:

  1. Portable
  2. Terse
  3. Modular
  4. Efficient
  5. None of these

Correct answer: (E)
None of these

4. Which is the incorrect function prototype based on c library:

  1. char *gets(char *string);
  2. int puts(const char*s);
  3. char *cgets(char *str);
  4. int cputs(const char*str);
  5. None of these

Correct answer: (E)
None of these

5. Which is not the output function:

  1. printf();
  2. puts();
  3. puchar();
  4. putch();
  5. None of these.

Correct answer: (E)
None of these.

6. C us supported by the following operating system:

  1. Unix
  2. Linux
  3. Windows
  4. All of above

Correct answer: (D)
All of above

7. C is the ____________ language:

  1. Low level
  2. High Level
  3. Both Low and High Level
  4. None of these

Correct answer: (C)
Both Low and High Level

8. You require to write and run c program:

  1. Operating system
  2. Text editor
  3. Compiler
  4. All of above

Correct answer: (D)
All of above

9. which is the shortcut key to compile program in Turbo C IDE:

  1. Ctrl + F9
  2. Alt + F9
  3. Compiler
  4. None of these

Correct answer: (B)
Alt + F9

10. C has ____________ keywords:

  1. 30
  2. 31
  3. 32
  4. 33

Correct answer: (C)
32

Page 1 of 8