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
A) it will compile & nothing will be printed when it is
executed.
| Is This Answer Correct ? | 5 Yes | 4 No |
Post New Answer View All Answers
How can I get back to the interactive keyboard if stdin is redirected?
What is an array? What the different types of arrays in c?
How to define structures? ·
What is a MAC Address?
What is malloc calloc and realloc in c?
What does the format %10.2 mean when included in a printf statement?
What is the process to create increment and decrement stamen in c?
Can you please explain the difference between exit() and _exit() function?
What does volatile do?
What is the use of a semicolon (;) at the end of every program statement?
How can I delete a file?
Do you have any idea about the use of "auto" keyword?
I need previous papers of CSC.......plz help out by posting them.......
What is the difference between arrays and pointers?
How many main () function we can have in a project?