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 / vaibhav
c)the compiler will generate an error
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Is fortran still used in 2018?
Can we declare variables anywhere in c?
What is a pointer in c plus plus?
How can I write functions that take a variable number of arguments?
What does %2f mean in c?
What is nested structure with example?
What is c language used for?
What is c language & why it is used?
When should the const modifier be used?
write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.
What is double pointer in c?
How many types of operators are there in c?
write a program which the o/p should b in such a way that s triangle if I/p is 3,a Square/rectangle if I/P=4,a pentagon if I/P=5 and so on...forget about the I/P which is less than 3
Can we declare function inside main?
What is %s and %d in c?