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
C program to find all possible outcomes of a dice?
explain what are actual arguments?
How can you call a function, given its name as a string?
What is the difference between arrays and pointers?
number of times a digit is present in a number
Explain how can I convert a number to a string?
What type is sizeof?
How important is structure in life?
main() { inta=10,b=20; a>=5?b=100:b=200; printf("%d ",b); }
Explain bitwise shift operators?
When reallocating memory if any other pointers point into the same piece of memory do you have to readjust these other pointers or do they get readjusted automatically?
What is difference between constant pointer and constant variable?
Explain high-order bytes.
Explain what are compound statements?
I need a help with a program: Write a C program that uses data input in determining the whole of points A and a whole of circles B. Find two points in A so that the line which passes through them, cut through the maximum number of circles.