Home / CSE MCQs / C-MCQs :: Discussion

Discussion :: C-MCQs

  1. Number of times while loop condition is tested is, i is initialized to 0 in both case.

          while (i < n)

              i++;

         -------------

         do

              i++;

         while (i <= n);

  2. A.
    n, n
    B.
    n, n+1
    C.
    n+1, n
    D.
    n+1, n+1

    View Answer

    Workspace

    Answer : Option D

    Explanation :

    none


Be The First To Comment