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
A) it will compile & nothing will be printed when it is
executed.
| Is This Answer Correct ? | 5 Yes | 4 No |
Post New Answer View All Answers
How can I trap or ignore keyboard interrupts like control-c?
What are identifiers in c?
Is c compiled or interpreted?
process by which one bit patten in to another by bit wise operation is? (a) masking, (b) pruning, (c) biting, (d) chopping,
i = 25;switch (i) {case 25: printf("The value is 25 ");case 30: printf("The value is 30 "); When the above statements are executed the output will be : a) The value is 25 b) The value is 30 c) The value is 25 The value is 30 d) none
explain what are pointers?
How can you pass an array to a function by value?
Explain spaghetti programming?
What is meant by errors and debugging?
Is there a way to compare two structure variables?
Hai sir, I had planned to write the NIC scientific engineer exam , plz post the sample question......
What is c mainly used for?
What is #define in c?
Why do we use namespace feature?
Explain how do you sort filenames in a directory?