#include<stdio.h>
#include<conio.h>
#include<math.h>
void main(main) {
clrscr();
printf("%d",main +=pow(++main,++main));
getch();
}
So, i have run the above code in turboC compiler n got the output 12. i have noticed here the value of main is always initialised with 1. so i want to know why its value is 1? why not anything else?? please anyone help me out :)
Note: i also tried to change the name of parameter "main" with something else like x,y etc.. the value still 1 and also output also same i.e 12.