Q. What is the output of C Program?

Code:
int main()
{
    int a=32;
    
    do
    {
        printf("%d ", a);
        a++;
        if(a > 35)
            break;
    }while(1);

    return 0;
}
  • (A) No Output
  • (B) 32 33 34
  • (C) 32 33 34 35
  • (D) Compiler error
πŸ’¬ Discuss
βœ… Correct Answer: (C) 32 33 34 35

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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