C Multiple Choice Questions

  1. The "C" language is
    1. Context free language
    2. Context sensitive language
    3. Regular language
    4. None of the above
Answer :
A
Explanation:
Added By : Suchit


  1. Number of binary trees formed with 5 nodes are
    1. 30
    2. 36
    3. 108
    4. 42
Answer :
D
Explanation:
Added By : Rajat

  1. The _______ memory allocation function modifies the previous allocated space.
    1. calloc
    2. free
    3. malloc
    4. realloc
Answer :
D
Explanation:
Added By : Rajat


  1. The statement printf("%c", 100); will print?
    1. prints 100
    2. print garbage
    3. prints ASCII equivalent of 100
    4. None of the above
Answer :
C
Explanation:
Added By : Rahul

  1. Which of the following data structure is linear type?
    1. Strings
    2. Queue
    3. Lists
    4. All of the above
Answer :
D
Explanation:
Added By : Rahul

  1. To represent hierarchical relationship between elements, which data structure is suitable?
    1. Priority
    2. Tree
    3. Dqueue
    4. All of the above
Answer :
B
Explanation:
Added By : Rahul


  1. The statement print f ("%d", 10 ? 0 ? 5 : 1 : 12); will print?
    1. 10
    2. 0
    3. 12
    4. 1
Answer :
D
Explanation:
Added By : Sumit

  1. Queue is a _____________ list.
    1. LIFO
    2. LILO
    3. FILO
    4. FIFO
Answer :
D
Explanation:
Added By : Saurabh

Post Your Question
Social Sharing
Search