A

Admin • 833K Points
Coach

Q. What will be the data type returned for the following C function?

Code:
#include <stdio.h>
int func()
{
return (double)(char)5.0;
}
  • (A) char
  • (B) int
  • (C) double
  • (D) multiple type-casting in return is illegal
  • Correct Answer - Option(B)
  • Views: 23
  • 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.