C Multiple Choice Questions

  1. Representation of data structure in memory is known as
    1. Recursive
    2. Abstract data type
    3. Storage structure
    4. File structure
Answer :
B
Explanation:
Added By : Kiran Kumar


  1. Which of the following search algorithm requires a sorted array?
    1. Linear search
    2. Hash search
    3. Binary search
    4. All of these
Answer :
C
Explanation:
Added By : Kiran Kumar

  1. The largest element of an array index is called its
    1. Lower bound
    2. Upper bound
    3. Range
    4. All of the above
Answer :
B
Explanation:
Added By : Kiran Kumar


  1. Which of the following is a Compound assignment operators?
    1. +=
    2. *=
    3. /=
    4. All the above
Answer :
D
Explanation:
Added By : Srinivas

  1. What will be the output of 5.0 / 2?
    1. 2
    2. 3
    3. 0
    4. 2.5
Answer :
D
Explanation:
An operation between an integer and real always yields a real result. In this operation the integer is first promoted to a real and then the operation is performed.
Added By : Arya Bansal

  1. What is %f, %d, %s and %c?
    1. Number Specifier
    2. Format Specifier
    3. Access Specifier
    4. None of the above
Answer :
B
Explanation:
Added By : Arya Bansal


  1. Which of the following is correct set of keywords?
    1. unsigned, external, typedef, signed
    2. unsigned, volatile, typedef, every
    3. unsigned, volatile, typedef, sizeof
    4. None of the above
Answer :
C
Explanation:
Added By : Arya Bansal

  1. The keywords are also called
    1. Safe words
    2. Static words
    3. Reserved words
    4. Reused words
Answer :
C
Explanation:
Added By : Arya Bansal

Post Your Question
Social Sharing
Search