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

Answers were Sorted based on User's Feedback



10. Study the code: void show() main() { show(); } void show (char *s) { printf("%sn&qu..

Answer / manju

The answer is c.

the compiler will generate an error.

Is This Answer Correct ?    6 Yes 1 No

10. Study the code: void show() main() { show(); } void show (char *s) { printf("%sn&qu..

Answer / hanumant

C)the compiler will generate an error

Is This Answer Correct ?    5 Yes 1 No

10. Study the code: void show() main() { show(); } void show (char *s) { printf("%sn&qu..

Answer / hanumant

A) it will compile & nothing will be printed when it is
executed.

Is This Answer Correct ?    5 Yes 4 No

10. Study the code: void show() main() { show(); } void show (char *s) { printf("%sn&qu..

Answer / vaibhav

c)the compiler will generate an error

Is This Answer Correct ?    0 Yes 0 No

10. Study the code: void show() main() { show(); } void show (char *s) { printf("%sn&qu..

Answer / hanumant

D)the compiler will generate a warning

Is This Answer Correct ?    1 Yes 6 No

Post New Answer

More C Interview Questions

illustrate the use of address operator and dereferencing operator with the help of a program guys plzzz help for this question

0 Answers  


What is main return c?

0 Answers  


int zap(int n) { if(n<=1)then zap=1; else zap=zap(n-3)+zap(n-1); } then the call zap(6) gives the values of zap [a] 8 [b] 9 [c] 6 [d] 12 [e] 15

10 Answers   Wipro,


character array A[12] can hold

5 Answers   Wipro,


How can I change the size of the dynamically allocated array?

0 Answers  






What is pointer and structure in c?

0 Answers  


What is the heap?

0 Answers  


What do you mean by command line argument?

0 Answers   TCS,


how to devloped c lenguege?

4 Answers  


Wt are the Buses in C Language

0 Answers   Infosys,


Write a code to determine the total number of stops an elevator would take to serve N number of people.

0 Answers   Expedia,


Why is sizeof () an operator and not a function?

0 Answers  


Categories