Home / CSE MCQs / C++ - MCQs :: Operators and Statements - C++

CSE MCQs :: C++ - MCQs

  1. How many sequence of statements are present in c++?
  2. A.
    4
    B.
    3
    C.
    5
    D.
    6

    View Answer

    Workspace

    Discuss Discuss in Forum


  3. The if..else statement can be replaced by which operator?
  4. A.
    Bitwise operator
    B.
    Conditional operator
    C.
    Multiplicative operator
    D.
    none of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  5. The switch statement is also called as?
  6. A.
    choosing structure
    B.
    selective structure
    C.
    certain structure
    D.
    none of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  7. The destination statement for the goto label is identified by what label?
  8. A.
    $
    B.
    @
    C.
    *
    D.
    :

    View Answer

    Workspace

    Discuss Discuss in Forum


  9. How many types of loops are there?
  10. A.
    4
    B.
    2
    C.
    3
    D.
    1

    View Answer

    Workspace

    Discuss Discuss in Forum


  11. Which looping process is best used when the number of iterations is known?
  12. A.
    for
    B.
    while
    C.
    do-while
    D.
    all looping processes require that the iterations be known

    View Answer

    Workspace

    Discuss Discuss in Forum