Question: What will be the output of the following C code? A. Hello students is printed once B. Hello students is printed infinite times C. Hello

What will be the output of the following C code?

#include int main () { } printf ("Hello students"); main (); return

A. Hello students is printed once
B. Hello students is printed infinite times
C. Hello students is printed till the stack overflows occur
D. None of the above

#include int main () { } printf ("Hello students"); main (); return 0;

Step by Step Solution

3.40 Rating (166 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

C Explanation In the above code the main function itself calling main ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Data Structures and Other Objects Using Java Questions!