πŸ“Š C Programming
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
πŸ’¬ Discuss
βœ… Correct Answer: (A) 11 13 15 17 19

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
180
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Chandani
Publisher
πŸ“ˆ
99%
Success Rate