Home / CSE MCQs / C#.Net MCQs :: Discussion

Discussion :: C#.Net MCQs

  1. Correct syntax for do while loop is :
  2. A.

    do;

       {

        statement;

       }while (condition);

    B.

    do(condition)

       {

         statement;

       }while;

    C.

    do

       {

         statement;

       }while (condition)

    D.

    do

       {

            statement;

       }while (condition);

    View Answer

    Workspace

    Answer : Option D

    Explanation :

    By definition Output:do { statement; }while (condition);


Be The First To Comment