0
What is local variable ?
2 Réponses
+ 2
The variables whose scope is available within the declared function.
Ex -
void func(){
int i,h;
//some code
}
Here i and h are local variables for func whose value is present till the function is running. It's value or variable cannot be used by main function unless it's values is passed by return.
0
Thnx