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
C)the compiler will generate an error
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
Explain why can’t constant values be used to define an array’s initial size?
What is indirection in c?
Why can’t constant values be used to define an array’s initial size?
What are actual arguments?
Does free set pointer to null?
What is meant by int main ()?
In C language what is a 'dangling pointer'?
What is the size of structure pointer in c?
What is wrong with this program statement? void = 10;
FILE PROGRAMMING
Why we not create function inside function.
why to assign a pointer to null sometimes??how can a pointer we declare get assigned with a garbage value by default???
A collection of data with a given structure for excepting storing and providing on demand data for multiple users a) linked list b) datastructer c) database d) preprocessor
How can I insert or delete a line (or record) in the middle of a file?
Why is structure important for a child?