Study the code:
void show()
main()
{
show();
}
void show (char *s)
{
printf("%sn",s);
}
What will happen if it is compiled & run on an ANSI C
Compiler?
A)It will compile & nothing will be printed when it is
executed
B)it will compile but not link
C)the compiler will generate an error
D)the compiler will generate a warning
Answer Posted / manjeet
Then answer wll be (B) will compile but not link
Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What is the difference between declaring a variable and defining a variable?
Do array subscripts always start with zero?
Why do we use stdio h and conio h?
What does c mean in basketball?
How many bytes is a struct in c?
What are register variables? What are the advantage of using register variables?
Why is it usually a bad idea to use gets()? Suggest a workaround.
What does == mean in texting?
a parameter passed between a calling program and a called program a) variable b) constant c) argument d) all of the above
Explain what is the difference between functions abs() and fabs()?
How can you avoid including a header more than once?
What is difference between structure and union in c programming?
What is array of pointers to string?
How are portions of a program disabled in demo versions?
What is include directive in c?