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
Answer / manju
The answer is c.
the compiler will generate an error.
| Is This Answer Correct ? | 6 Yes | 1 No |
Answer / hanumant
A) it will compile & nothing will be printed when it is
executed.
| Is This Answer Correct ? | 5 Yes | 4 No |
What is scope and lifetime of a variable in c?
Is c is a high level language?
What is function definition in c?
wap in c to accept n number display the highest and lowest value
shorting algorithmS
Do you know what are bitwise shift operators in c programming?
What is the difference between big endian form and little endian form? write a code to convert big endian form to little endian and vice versa..
#include<stdio.h> { printf("Hello"); } how compile time affects when we add additional header file <conio.h>.
What is #pragma directive?how it is used in the program? what is its advantages and disadvantages?
which one is highest Priority in c? a)=,b)+,c)++,d)==
What is the difference between typedef struct and struct?
Can a variable be both const and volatile?