Home / General Knowledge / Testing sawaal :: Discussion

Discussion :: Testing sawaal

  1. How many times i value is checked in the below code?

           #include <stdio.h>
            int main()
            {
                int i = 0;
                do {
                    i++;
                    printf( "In while loopn" );
                } while (i < 3);
            }

  2. A.
    2
    B.
    3
    C.
    4
    D.
    1

    View Answer

    Workspace

    Answer : Option B

    Explanation :



Be The First To Comment