logo

Crowdly

What is the output of the following program? #include <stdio.h> int main()  ...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

What is the output of the following program?

#include <stdio.h>

int main() 

{

    int i = 0;

    while (i < 5) {

        if (i % 2 == 0)

        {

                putchar('*');

                continue;

        }

        printf("%d ", i);

        i++;

    }

    return 0;

}

More questions like this

Want instant access to all verified answers on dle.plaksha.edu.in?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!