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
Why doesnt that code work?
using only #include
What is #define used for in c?
What is #error and use of it?
What is structure in c definition?
What does int main () mean?
What is the return type of sizeof?
What is a good data structure to use for storing lines of text?
Describe how arrays can be passed to a user defined function
Where are c variables stored in memory?
What is the difference between procedural and functional programming?
Explain what is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?
What is operator promotion?
What is the most efficient way to store flag values?
Explain high-order and low-order bytes.