example for accessing local variables in c:
What is the output of below c program?
void fun(int );
int c = 15;
compile time error, c can't be accessed in the block.
compile time error, i can't be accessed outside the block.
compile time error, i can't be accessed outside the block. i's scope is only with in that inner block.
Back To Top