What is the value of result after code execution?

    int a = 0;
    for (;;)
    {
        if (a) break;
        a--;
    }
    int result = a;
C++
C++ Quiz
Start Quiz

or Read more about C++ Quiz

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback