Q. What is the output of C Program with functions.?

Code:
void main()
{
    int a;
    printf("TIGER COUNT=");
    a=show();
    printf("%d", a);
}

int show()
{
    return 15;
    return 35;
}
  • (A) TIGER COUNT=15
  • (B) TIGER COUNT=35
  • (C) TIGER COUNT=0
  • (D) Compiler error
πŸ’¬ Discuss
βœ… Correct Answer: (A) TIGER COUNT=15

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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