πŸ“Š C Programming
Q. What is the output of C program with functions?
Code:
int show();

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

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

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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