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 |
suppose there are five integers write a program to find larger among them without using if- else
What is the difference between array_name and &array_name?
Explain #pragma statements.
What is the function of ceil(X) defined in math.h do? A)It returns the value rounded down to the next lower integer B)it returns the value rounded up to the next higher integer C)the Next Higher Value D)the next lower value
Write a C program to remove the repeated characters in the entered expression or in entered characters(i.e) removing duplicates
write a program to remove duplicate from an ordered char array? in c
How can I recover the file name given an open stream or file descriptor?
Write code for atoi(x) where x is hexadecimal string.
What is the difference between macros and inline functions?
Can the size of an array be declared at runtime?
What are the advantages of external class?
How can I read a directory in a C program?
2 Answers Bright Outdoor, Wipro,