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
What is main () in c language?
What are the types of arrays in c?
What is the right type to use for boolean values in c? Is there a standard type? Should I use #defines or enums for the true and false values?
What is chain pointer in c?
which is conditional construct a) if statement b) switch statement c) while/for d) goto
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 do you understand by normalization of pointers?
which of the following is not a character constant a) 'thank you' b) 'enter values of p, n ,r' c) '23.56E-o3' d) all of the above
What is the need of structure in c?
a construct the"else" part of "if" statement contains anoth "if else" statement is called a) if-else b) else-if-else c) if-else-if-else d) chain if/if-else-if
Why is this loop always executing once?
What is the difference between specifying a constant variable like with constant keyword and #define it? i.e what is the difference between CONSTANT FLOAT A=1.25 and #define A 1.25
What are the back slash character constants or escape sequence charactersavailable in c?
What are types of structure?
Can the curly brackets { } be used to enclose a single line of code?