Hello Gurus,

Can u give any solution for the below code.


Thanks
Sandy




void change()
{
//Do any thing that will print value of i in main as 5;
//without changing code of main
}

int main()
{
int i = 5 ;

clrscr();

change();

i = 10;

printf("Value of i=%d",i);

getch();

return 1;
}