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


Please Help Members By Posting Answers For Below Questions

Write a program to implement queue.

668


Can we use any name in place of argv and argc as command line arguments?

611


Is printf a keyword?

762


Tell me what is null pointer in c?

617


What is the advantage of a random access file?

642






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

2522


Are comments included during the compilation stage and placed in the EXE file as well?

674


Why ca not I do something like this?

591


How can I prevent another program from modifying part of a file that I am modifying?

618


Do variables need to be initialized?

623


Why we use stdio h in c?

586


Explain what is the difference between functions abs() and fabs()?

625


What is FIFO?

678


What is the difference between break and continue?

608


What is variable initialization and why is it important?

623