Knowee
Questions
Features
Study Tools

What is the output of the code given below?#include <stdio.h>void main() { int i = 2; do { i++; printf("Try "); } while (i < 2)}OptionsTryTry TryCompile-time ErrorIt does not print anything

Question

What is the output of the code given below?#include <stdio.h>void main() { int i = 2; do { i++; printf("Try "); } while (i < 2)}OptionsTryTry TryCompile-time ErrorIt does not print anything

🧐 Not the exact question you are looking for?Go ask a question

Solution

Compile-time Error

Similar Questions

What will be the output of the following code snippet?

What is the output of the following code in Python?

What will be the output of the following C code?

What is the output for the following code?Note: This question helps in clearing conceptual technical interviews for service-based companies.

What will be the output of the following program?

1/4

Upgrade your grade with Knowee

Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.