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 / subbu[iit kgp]
if it is assumed that there is a semicolon after the
function prototype declaration of show(), then answer is A.
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
hi folks i m approching for h1 b interview on monday 8th of august at montreal and i m having little problem in my approval notice abt my bithdate my employer has made a mistake while applying it is 12th january and istead of that he had done 18 the of january do any body have any solution for that if yes how can i prove my visa officer abt my real birthdate it urgent please let me know guys thaks dipesh patel
What is the right way to use errno?
Why is python slower than c?
What is c value paradox explain?
Explain what’s a signal? Explain what do I use signals for?
How do you list files in a directory?
Tell me is null always defined as 0(zero)?
in any language the sound structure of that language depends on its a) character set, input/output function, its control structures b) character set, library functions, input/output functions its control structures c) character set, library functions, control sturctures d) character set, operators, its control structures
What is the purpose of the statement: strcat (S2, S1)?
What is the purpose of 'register' keyword in c language?
Process by which one bit pattern in to another by bit wise operation is?
What is sizeof array?
provide an example of the Group by clause, when would you use this clause
What is a shell structure examples?
What is ctrl c called?