C Language Multiple Choice Question

Question : 1 Which of the following language is predecessor to C programming language ?

  • A

    A Language

  • B

    B Language

  • C

    BCPL

  • D

    C++ Language

Answer:

Question : 2 C programming language was developed by ......?

  • A

    Dennis Ritchie

  • B

    Ken Thompson

  • C

    Bill Gates

  • D

    Peter Nortan

Answer:

Question : 3 C was developed in the year ....... ?

  • A

    1972

  • B

    1970

  • C

    1976

  • D

    1979

Answer:

Question : 4 C is ...... language

  • A

    High level

  • B

    Low level

  • C

    Middle level

  • D

    Machine level

Answer:

Question : 5 C language is available for which of the following operating system ?

  • A

    DOS

  • B

    Window

  • C

    Unix

  • D

    All of these

Answer:

Question : 6 Which of the following symbol is used to denote a pre-processor statement ?

  • A

    |

  • B

    #

  • C

    ^

  • D

    ;

Answer:

Question : 7 Which of the following are token in C ?

  • A

    Keywords

  • B

    Variable

  • C

    Constant

  • D

    All of these

Answer:

Question : 8 What is valid range of number for int type of data ?

  • A

    0 to 256

  • B

    -32768 to +32767

  • C

    -65536 to -65536

  • D

    None of These

Answer:

Question : 9 Which of the following is scalar data type ?

  • A

    Float

  • B

    Union

  • C

    Array

  • D

    Pointer

Answer:

Question : 10 Which symbol is used as statement terminator in C ?

  • A

    !

  • B

    #

  • C

    $

  • D

    ;

Answer:

Question : 11 Charcater constant should be enclosed between ....

  • A

    Single Quotes

  • B

    Double Quotes

  • C

    Both A and B

  • D

    None of these

Answer:

Question : 12 The maximum length of variable in C is ....

  • A

    8

  • B

    16

  • C

    32

  • D

    64

Answer:

Question : 13 What will be the maximum size of float ?

  • A

    1 byte

  • B

    2 bytes

  • C

    4 bytes

  • D

    8 bytes

Answer:

Question : 14 What will be the maximum size of double variable .... ?

  • A

    1 byte

  • B

    4 bytes

  • C

    8 bytes

  • D

    16 bytes

Answer:

Question : 15 A declaration float a,b occupies ..... of memory.

  • A

    1 bytes

  • B

    4 bytes

  • C

    8 bytes

  • D

    16 bytes

Answer: