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 will you declare an array of three function pointers where each function receives two ints and returns a float?
Write a program to find given number is even or odd without using any control statement.
What is a string?
Explain what is the advantage of a random access file?
Write a function which takes as parameters one regular expression(only ? and * are the special characters) and a string and returns whether the string matched the regular expression.
Why do we use static in c?
how many times does the loop iterated ? for (i=0;i=10;i+=2) printf("Hi\n");
1 232 34543 4567654 can anyone tell me how to slove this c question
Why does everyone say not to use gets?
What is the difference between CV and Resume ?
what is use#in c
How to swap 3 numbers without using 4th variable?