Home / C Programming / Control Instructions :: Yes / No Questions

C Programming :: Control Instructions

  1. The way the break is used to take control out of switch and continue to take control of the beginning of the switch?

  2. A.
    Yes
    B.
    No

    View Answer

    Workspace

    Discuss Discuss in Forum


  3. Can we use a switch statement to switch on strings?

  4. A.
    Yes
    B.
    No

    View Answer

    Workspace

    Discuss Discuss in Forum


  5. We want to test whether a value lies in the range 2 to 4 or 5 to 7. Can we do this using a switch?

  6. A.
    Yes
    B.
    No

    View Answer

    Workspace

    Discuss Discuss in Forum


  7. By default, the data type of a constant without a decimal point is int, whereas the one with a decimal point is a double.

  8. A.
    Yes
    B.
    No

    View Answer

    Workspace

    Discuss Discuss in Forum