C Multiple Choice Questions

  1. Which data structure type is NOT linear from the following?
    1. Doubly Link List
    2. 2D Array
    3. Binary Search Tree
    4. Queue
Answer :
C
Explanation:
Added By : Jayesh

  1. Which of the following sorting algorithms does NOT have a worst-case running time of O(n2)?
    1. Insertion sort
    2. Merge sort
    3. Quicksort
    4. Bubble sort
Answer :
B
Explanation:
Added By : Aditya


  1. How many times is a do while loop guaranteed to loop?
    1. 0
    2. Variable
    3. 1
    4. Infinitely
Answer :
C
Explanation:
Added By : Yogendra

  1. Which of the following storage classes have global visibility in C?
    1. Auto
    2. Static
    3. Extern
    4. Register
Answer :
C
Explanation:
Added By : Deepak

  1. A full binary tree with n leaves contains
    1. n nodes
    2. 2n - 1 nodes
    3. log2 n nodes
    4. 2n nodes
Answer :
B
Explanation:
Added By : Deepak

  1. The Case keyword is followed by?
    1. Float values
    2. Character values
    3. Integer values
    4. Both b&c
Answer :
D
Explanation:
Added By : Sahil Sharma


  1. Type of data and its value is described dy
    1. Constants
    2. Variables
    3. Data Type
    4. None of the above
Answer :
B
Explanation:
Added By : Jayesh

  1. myarr[5] is equivalent of?
    1. &(myarr + 5)
    2. *(myarr + 5)
    3. (*myarr + 5)
    4. None of the above
Answer :
B
Explanation:
Added By : Raju

Social Sharing
Search