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 |
How can I allocate arrays or structures bigger than 64K?
Write code for initializing one dimentional and two dimentional array in a C Program?
5 Answers Deshaw, Edutech, GMD,
How can you convert integers to binary or hexadecimal?
Explain null pointer.
What is openmp in c?
Switch (i) i=1; case 1 i++; case 2 ++i; break; case 3 --i; Output of i after executing the program
What is the function of this pointer?
0 Answers Agilent, ZS Associates,
main() { struct test { char c; int i; char m; } t1; printf("%d %d\n", sizeof(t1), sizeof(t1.c)); }
1 Answers Vector, Vector India,
write the program for prime numbers?
73 Answers Accenture, Aptech, Infosys, TCS,
How can I write data files which can be read on other machines with different word size, byte order, or floating point formats?
what is the difference between exit() and _exit() functions?
I completed my B.tech (IT). Actually I want to develop virtual object that which will change software technology in the future. To develop virtual object what course I have to take. can I any professor to help me.