Question
int main()
{
extern int fun(float);
int a;
a = fun(3.14);
printf("%d\n", a);
return 0;
}
int fun(int aa)
{
return (int)++aa;
}
What is the output of the program ?
int main()
{
extern int fun(float);
int a;
a = fun(3.14);
printf("%d\n", a);
return 0;
}
int fun(int aa)
{
return (int)++aa;
}
Answer: Option D
Was this answer helpful ?
2 Errors
1. Type mismatch in redeclaration of fun
2. Type mismatch in parameter aa
Was this answer helpful ?
More Questions on This Topic :
Question 3.
Which of the following statements should be ....
Submit Solution