This repository has been archived on 2023-10-26. You can view files and clone it, but cannot push or open issues or pull requests.
VSMechatronics/C12/scope_of_variables.c
2022-04-08 16:12:38 +01:00

20 lines
233 B
C

void SampleFunction1 ( int x )
{
int i,j,k;
return;
}
void SampleFunction2 ( int x )
{
int i,j,k;
SampleFunction1(x);
return;
}
// Main : Execution starts here...
int main(void)
{
int i = 1;
SampleFunction2(i);
return 0;
}