A
Ant Franck
hi friends,
is it possible to call a variable from the main function to a sub
fuction with out sending as a argument, pointer and can't declare as
global variable?
void main()
{
int a=10;
fun();
}
fun()
{
printf("%d", a);
}
condition
1. don't use pointer concept
2.don't declare as global variable
3.don't send as arguments
IS IT POSSIBLE?
please help me
is it possible to call a variable from the main function to a sub
fuction with out sending as a argument, pointer and can't declare as
global variable?
void main()
{
int a=10;
fun();
}
fun()
{
printf("%d", a);
}
condition
1. don't use pointer concept
2.don't declare as global variable
3.don't send as arguments
IS IT POSSIBLE?
please help me