C Programming :: Functions - Discussion
Home > C Programming > Functions > MCQs Questions Discussion
11 / 53
What will be output of the following "c" code?
#include<stdio.h> int main()
{
show();
return 0;
}
void show()
{
printf("I'm the greatest");
}
#include<stdio.h> int main()
{
show();
return 0;
}
void show()
{
printf("I'm the greatest");
}
ACompier error: Type mismatch in redeclaration of show.
BI', the greatest
CLinker error
DNone of these
Answer: Option (Login/Signup)
Show Explanation
Asked In ::
TRICK
Option B would be the right ans and the explanation which is given is also wrong. No such case will occur.
Read Full Answer
Report Error
Please Login First Click Here