c-programming-mcqs - Set (2)

Correct Answer: Orange && Worng Answer: Red

1. Who is father of C Language?

  • (A). Bjarne Stroustrup
  • (B). Dennis Ritchie
  • (C). James A. Gosling
  • (D). Dr. E.F. Codd
  • View Answer

    Explanation: Not Avilable

    2. C Language developed as ______

  • (A). AT & T Bell Laboratories of USA in 1972
  • (B). AT & T Bell Laboratories of USA in 1970
  • (C). Sun Microsystems in 1973
  • (D). Cambridge University in 1972
  • View Answer

    Explanation: Not Avilable

    3. C language is a

  • (A). Completely high-level language
  • (B). Completely low-level language
  • (C). High-level language with low-level features
  • (D). None of these
  • View Answer

    Explanation: Not Avilable

    4. The ‘C’ language is

  • (A). Context free language
  • (B). Context sensitive lanugage
  • (C). Regualar language
  • (D). None of the above
  • View Answer

    Explanation: Not Avilable

    5. C is _____ language?

  • (A). Low level
  • (B). High level
  • (C). Assembly level
  • (D). Machine level
  • View Answer

    Explanation: Not Avilable

    6. C programs are converted into machine language with the help of

  • (A). An editor
  • (B). A compiler
  • (C). An operating system
  • (D). None of the above
  • View Answer

    Explanation: Not Avilable

    7. What is the extension files by default for C Program ?

  • (A). .doc
  • (B). .ppt
  • (C). .c
  • (D). .exe
  • View Answer

    Explanation: Not Avilable

    8. Standard ANSI C has _____ number of keywords ?

  • (A). 30
  • (B). 32
  • (C). 24
  • (D). 36
  • View Answer

    Explanation: Not Avilable

    9. What is C Tokens?

  • (A). The smallest individual units of c program
  • (B). The basic element recognized by the compiler
  • (C). The largest individual units of program
  • (D). Both (a) and (b)
  • View Answer

    Explanation: Not Avilable

    10. The sign ‘#’ of the compiler directive must appear at the ______ of a line

  • (A). Beginning
  • (B). Middle
  • (C). End
  • (D). None of the above
  • View Answer

    Explanation: ‘#’ sign is used to define Header file in C Programming at Beginning.

    11. Which committee standardize ‘C’ programming language?

  • (A). ANSI
  • (B). W3C
  • (C). TRAI
  • (D). ISO
  • View Answer

    Explanation: ANSI(American National Standards Institute)

    12. A Header file is :

  • (A). A file that contains standard library functions
  • (B). A file that contains definitions and macros
  • (C). A file that contains user defined functions
  • (D). A file that is present in current working directory
  • View Answer

    Explanation: A header file is a file that contains C declarations and macro definitions to be shared between several source files.

    13. Which header file is designed for basic mathematical operations ?

  • (A). Stdio.h
  • (B). Dos.h
  • (C). Math.h
  • (D). Conio.h
  • View Answer

    Explanation: Not Avilable

    14. The File structure is define in which of the following files :

  • (A). stdlib.h
  • (B). stdio.h
  • (C). io.h
  • (D). conio.h
  • View Answer

    Explanation: Not Avilable

    15. Which header file should be included to use function like malloc(), calloc()?

  • (A). memory.h
  • (B). stdlib.h
  • (C). dos.h
  • (D). string.h
  • View Answer

    Explanation: Not Avilable