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
pierrot's divisor program using c or c++ code
typedef enum { html, java, javascript, perl, cgi } lang;The above statement defines a : a) Union b) User defined type c) Enumerated variable d) none
When c language was developed?
In which language linux is written?
Are there namespaces in c?
List the difference between a "copy constructor" and a "assignment operator"?
Explain what math functions are available for integers? For floating point?
What is the g value paradox?
What does %p mean c?
What is the use of void pointer and null pointer in c language?
Differentiate between static and dynamic modeling.
How arrays can be passed to a user defined function
What is hash table in c?
Can main () be called recursively?
What does %2f mean in c?