Character Array MCQ 14 : Printing String Recursively
What is the Output of the Following Program ?
#include<stdio.h>
int main()
{
int i=0;
printf("\nI am in Main");
for(i=0;i<10;i++)
main();
return(0);
}
I am in Main I am in Main I am in Main ----------- ----------- ----------- Infinite Times
I am in Main I am in Main I am in Main ----------- ----------- ----------- 10 Times
I am in Main I am in Main I am in Main ----------- ----------- ----------- Until Internal Stack Overflows
- None Of These
Output :
Switch to String MCQ Home : Click Here
| Note: |
|



0 Comments:
Post a Comment
Your Feedback :This is Growing Site and Your Feedback is important for Us to improve the Site performance & Quality of Content.Feel Free to contact and Please Provide Name & Contact Email