10. 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 / hanumant
D)the compiler will generate a warning
| Is This Answer Correct ? | 1 Yes | 6 No |
Post New Answer View All Answers
Write a program to show the change in position of a cursor using c
What is a static function in c?
Explain how can type-insensitive macros be created?
Difference between pass by reference and pass by value?
A variable that is defined in a specified portion of a program but can be used throughout the program a) global variable b) local variable c) character d) none
How can I sort more data than will fit in memory?
Explain what is the benefit of using #define to declare a constant?
Is using exit() the same as using return?
What is the difference between procedural and declarative language?
What are c identifiers?
Suggesting that there can be 62 seconds in a minute?
What are near, far and huge pointers?
How many data structures are there in c?
Explain what is wrong in this statement?
Why doesn't C support function overloading?