/*A program to show int main inside int main do what.......?*/
#include<stdio.h>
int main()
{
int i=0;
int main()
{
int i=3;//it will not print as declared error or warning
printf("i=%d",i);
printf("hello");
return 0;//it will return 0 .........statments inside this main will nt be displayed on display
//no matter if there is return 0 or not .....if there is not ...then it will return void to this main & this fun will be finished ........all variables of this function were local ...so took place in stack segment ...ends when function got returned value ...so variables r also lost...
}
printf("out i=%d",i);//these two statements outside the main will be displayed at output..i=0 not 3