A

Admin • 833K Points
Coach

Q. What will be the output of the following C code?

Code:
#include <stdio.h>

int main(){
int a = 11;

while (a < 20) {
printf("%d ", a);
a += 2;
}

return 0;
}
  • (A) 11 13 15 17 19
  • (B) 11 12 13 14 15 16 17 18 19 20
  • (C) 11 13 15 17 19 21
  • (D) None of these
  • Correct Answer - Option(A)
  • Views: 18
  • Filed under category C Programming
  • Hashtags:

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.