Home / CSE MCQs / C-MCQs :: Discussion

Discussion :: C-MCQs

  1. What is the output of this C code?


        int main()

        {

            int i = 0;

            while (i = 0)

                printf("True\n");

            printf("False\n");

        }

  2. A.
    True (infinite time)
    B.
    True (1 time) False
    C.
    False
    D.
    Compiler dependent

    View Answer

    Workspace

    Answer : Option C

    Explanation :

    none


Be The First To Comment