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 the use of linkage in c language?
Function which gives a pointer to a binary trees const an integer value at each code, return function of all the nodes in binary tree.?
what is the diffrenet bettwen HTTP and internet protocol
In which header file is the null macro defined?
What does c in a circle mean?
difference between object file and executable file
Who is the founder of c language?
Is int a keyword in c?
What is wrong with this declaration?
Explain 'bus error'?
Write a program to print all permutations of a given string.
Why should I use standard library functions instead of writing my own?
When c language was developed?
What is the use of function in c?
What are the application of c?