<AptiCode/>

Question 544: How many times the program will print "IndiaBIX" ?#include<stdio.h> int main() { printf("IndiaBIX"); main(); return 0; }

tcs
wipro
infosys
general
aptitude
functions
c-programming

Acall stackorfunction stackis used for several related purposes, but the main reason for having one is to keep track of the point to which each active subroutine should return control when it finishes executing.Astack overflowoccurs when too much memory is used on the call stack.Here functionmain()is called repeatedly and its return address is stored in the stack. After stack memory is full. It shows stack overflow error.