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 |
what is data structure
1. Can we use the for loop this way? for(;i>5;) 2. What is the use of pointers? 3. what is array of pointer? 4. What is the difference between file and database? 5. Define data structure?
What is an array? What the different types of arrays in c?
Explain how do you sort filenames in a directory?
Write a program to reverse a given number in c?
the portion of a computer program within which the definition of the variable remains unchanged a) mode b) module c) scope d) none
write a program that print itself even if the source file is deleted?
Explain Doubly Linked Lists?
what is the function of .h in #include<stdio.h> in c ?
23 Answers HCL, IBM, Wipro,
what is the purpose of the code, and is there any problem with it. bool f( uint n ) { return (n & (n-1)) == 0; }
EXPLAIN #INCLUDE<STDIO.H> EXPLAIN #INCLUDE<CONIO.H>
code for reverse alternate words from astring