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

20 lines
233 B
C
Raw Normal View History

2022-04-08 15:12:38 +00:00
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;
}