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
Explain what does the characters 'r' and 'w' mean when writing programs that will make use of files?
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
Explain 'far' and 'near' pointers in c.
Not all reserved words are written in lowercase. TRUE or FALSE?
What are valid operations on pointers?
What is a pointer value and address in c?
What is s in c?
What is the difference between memcpy and memmove?
What is || operator and how does it function in a program?
What is return type in c?
What is graph in c?
Describe the difference between = and == symbols in c programming?
Is main is user defined function?
When the macros gets expanded?
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