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 / hanumant
C)the compiler will generate an error
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
What does void main return?
What is an example of structure?
What are the different types of constants?
What is the use of define in c?
What is return type in c?
What do you mean by a sequential access file?
Write a program of prime number using recursion.
Devise a program that inputs a 3 digit number n and finds out whether the number is prime or not. Find out its factors.
Explain a pre-processor and its advantages.
What are the 4 types of programming language?
What is include directive in c?
What is a far pointer in c?
What is pointer and structure in c?
Is it better to bitshift a value than to multiply by 2?
What are the two types of structure?