Question: What is the output of the following code: #include int main() { } int x = 12; do { printf(Hello World ); --X; }
What is the output of the following code: #include int main() { } int x = 12; do { printf("Hello World "); --X; } while ( x 5 == 0); return 0; How many times " Hello World " will be printed?
Step by Step Solution
★★★★★
3.47 Rating (157 Votes )
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
The output of the following code is Hello World Hello World will be printed only once Expl... View full answer
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
