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

Explain what does the characters 'r' and 'w' mean when writing programs that will make use of files?

748


any function have arguments one or more OR not . it is compulsary a) any function compulsary have one or more arguments b) any function did not have arguments. It is not compulsary c) it is optional it is not compulsary d) none of the above

639


Explain 'far' and 'near' pointers in c.

700


Not all reserved words are written in lowercase. TRUE or FALSE?

717


What are valid operations on pointers?

662






What is a pointer value and address in c?

628


What is s in c?

605


What is the difference between memcpy and memmove?

597


What is || operator and how does it function in a program?

622


What is return type in c?

635


What is graph in c?

577


Describe the difference between = and == symbols in c programming?

769


Is main is user defined function?

588


When the macros gets expanded?

780


An instruction which is analysed and acted upon by the processor prior to the compiler going its work a) directive b) constructive c) constant d) absolute mode

603