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 / manjeet
Then answer wll be (B) will compile but not link
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
Do you know pointer in c?
What are disadvantages of C language.
void main(){ int a; a=1; while(a-->=1) while(a-->=0); printf("%d",a); }
5 Write an Algorithm to find the maximum and minimum items in a set of ānā element.
How do I round numbers?
What is pointer to pointer in c with example?
What is a macro?
What is quick sort in c?
the constant value in the case label is followed by a a) semicolon b) colon c) braces d) none of the above
What is meant by gets in c?
Is r written in c?
What is masking?
a=10;b= 5;c=3;d=3; if(a printf(%d %d %d %d a,b,c,d) else printf("%d %d %d %d a,b,c,d);
Explain how do you convert strings to numbers in c?
What are the advantages of c language?