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 / vignesh1988i
according to my compailer it will have an error "function
called incorrectly"
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is strcmp in c?
Is javascript based on c?
How reliable are floating-point comparisons?
Can you explain what keyboard debouncing is, and where and why we us it? please give some examples
List the difference between a "copy constructor" and a "assignment operator"?
Write a program on swapping (100, 50)
formula to convert 2500mmh2o into m3/hr
Difference between Function to pointer and pointer to function
What is the g value paradox?
What is union and structure?
What is volatile variable in c?
What are identifiers in c?
Is c++ based on c?
What are the different types of linkage exist in c?
What are the properties of union in c?