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


Please Help Members By Posting Answers For Below Questions

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

675


Explain the advantages and disadvantages of macros.

717


Is there any possibility to create customized header file with c programming language?

717


I need a sort of an approximate strcmp routine?

739


What are pointers? Why are they used?

715






using for loop sum 2 number of any 4 digit number in c language

1852


What is the condition that is applied with ?: Operator?

747


What are logical errors and how does it differ from syntax errors?

753


Can a pointer be static?

719


Explain c preprocessor?

769


What is a shell structure examples?

688


What is optimization in c?

652


What is a null pointer assignment error? What are bus errors, memory faults, and core dumps?

1035


pierrot's divisor program using c or c++ code

1838


Explain what are the __date__ and __time__ preprocessor commands?

713