A

Admin • 833K Points
Coach

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
  • Correct Answer - Option(B)
  • Views: 21
  • Filed under category C Programming
  • Hashtags:

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.