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
Answers were Sorted based on User's Feedback
Answer / manju
The answer is c.
the compiler will generate an error.
| Is This Answer Correct ? | 6 Yes | 1 No |
Answer / hanumant
A) it will compile & nothing will be printed when it is
executed.
| Is This Answer Correct ? | 5 Yes | 4 No |
Describe for loop and write a c program to sum the series X + x2/2! + x3 /3! + …….. up to fifteen terms.
Explain the binary height balanced tree?
Why do we use return in c?
Why is struct padding needed?
What is #include stdlib h?
In c programming write a program that will print 10 multiples of 3 except 15,18,21 using looping
How can I manipulate strings of multibyte characters?
What do you mean by team??
Is it possible to execute code even after the program exits the main() function?
how can u print a message without using any library function in c
What is output redirection?
write a program in c to read array check element is present or not?