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 / manju
The answer is c.
the compiler will generate an error.
Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
Why is sizeof () an operator and not a function?
Explain the advantages and disadvantages of macros.
Is there any possibility to create customized header file with c programming language?
I need a sort of an approximate strcmp routine?
What are pointers? Why are they used?
using for loop sum 2 number of any 4 digit number in c language
What is the condition that is applied with ?: Operator?
What are logical errors and how does it differ from syntax errors?
Can a pointer be static?
Explain c preprocessor?
What is a shell structure examples?
What is optimization in c?
What is a null pointer assignment error? What are bus errors, memory faults, and core dumps?
pierrot's divisor program using c or c++ code
Explain what are the __date__ and __time__ preprocessor commands?