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
There is a practice in coding to keep some code blocks in comment symbols than delete it when debugging. How this affect when debugging?
int i=3; this declaration tells the C compiler to a) reserve space in memory to hold the integer value b) associate the name i with this memory location c) store the value 3 at this location d) all the above
Write a C program to accept a matrix of any size. Find the frequency count of each element in the matrix and positions in which they appear in the matrix
How can variables be characterized?
What is restrict keyword in c?
Write a program with dynamically allocation of variable.
How will you find a duplicate number in a array without negating the nos ?
Why does not c have an exponentiation operator?
Tell us the use of fflush() function in c language?
How can I recover the file name given an open stream?
What are the types of type qualifiers in c?
explain what is fifo?
Is stack a keyword in c?
How #define works?
Explain what is the heap?