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 / manjeet
Then answer wll be (B) will compile but not link
Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
Write a program to implement queue.
Can we use any name in place of argv and argc as command line arguments?
Is printf a keyword?
Tell me what is null pointer in c?
What is the advantage of a random access file?
Create a structure to specify data on students given below: Roll number, Name, Department, Course, Year of joining Assume that there are not more than 450 students in the college. 1.write a function to print names of all students who joined in a particular year 2.write a function to print the data of a student whose roll number is given
Are comments included during the compilation stage and placed in the EXE file as well?
Why ca not I do something like this?
How can I prevent another program from modifying part of a file that I am modifying?
Do variables need to be initialized?
Why we use stdio h in c?
Explain what is the difference between functions abs() and fabs()?
What is FIFO?
What is the difference between break and continue?
What is variable initialization and why is it important?