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 / hanumant
D)the compiler will generate a warning
| Is This Answer Correct ? | 1 Yes | 6 No |
Post New Answer View All Answers
Once I have used freopen, how can I get the original stdout (or stdin) back?
What is the hardest programming language?
How can you avoid including a header more than once?
What are actual arguments?
State the difference between realloc and free.
Why calloc is better than malloc?
What is the purpose of the preprocessor directive error?
What is hashing in c language?
find the output? void r(int a[],int c, int n) { if(c>n) { a[c]=a[c]+c; r(a,++c,n); r(a,++c,n); } } int main() { int i,a[5]={0}; r(a,0,5); for(i=0;i<5;i++) printf("\n %d",a[i]); getch(); }
Is it possible to use curly brackets ({}) to enclose single line code in c program?
How important is structure in life?
what are enumerations in C
What is typedef?
What are the scope of static variables?
Explain how can I manipulate strings of multibyte characters?