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
How many levels of indirection in pointers can you have in a single declaration?
What is scope and lifetime of a variable in c?
What are comments and how do you insert it in a C program?
Explain About fork()?
What is static memory allocation? Explain
What are c identifiers?
What is a const pointer in c?
Why is python slower than c?
Explain can the sizeof operator be used to tell the size of an array passed to a function?
How does pointer work in c?
Calculate 1*2*3*____*n using recursive function??
What is 2c dna?
Explain the term printf() and scanf() used in c language?
What is a floating point in c?
What is the behavioral difference when include header file in double quotes (“”) and angular braces (<>)?