Q. What is the output of C Program?

Code:
int main()
{
    int a=14;
    
    while(a<20)
    {
        ++a;
        if(a>=16 && a<=18)
        {
            continue;
        }
        printf("%d ", a);
       
    }

    return 0;
}
  • (A) 15 16 17 18 19
  • (B) 15 18 19
  • (C) 15 16 20
  • (D) 15 19 20
πŸ’¬ Discuss
βœ… Correct Answer: (D) 15 19 20

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
230
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
91%
Success Rate