πŸ“Š C Programming
Q. What is the output of C Program with switch statement or block.?
Code:
int main()
{
    int a;
    
    switch(a)
    {
        printf("APACHE ");
    }
    
    printf("HEROHONDA");
}
  • (A) APACHE HEROHONDA
  • (B) HEROHONDA
  • (C) No Output
  • (D) Compiler error
πŸ’¬ Discuss
βœ… Correct Answer: (B) HEROHONDA

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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