Q. What is the output of a C program with functions.?

Code:
void show();

void main()
{
    show();
    printf("RAINBOW ");
    
    return;
}

void show()
{
    printf("COLOURS ");
}
  • (A) RAINBOW COLOURS
  • (B) COLOURS RAINBOW
  • (C) COLOURS
  • (D) Compiler error
πŸ’¬ Discuss
βœ… Correct Answer: (B) COLOURS RAINBOW

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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