scope example

This commit is contained in:
Mert Gör
2024-10-30 08:58:17 +03:00
parent cfd60f5994
commit b8d2d91cd6
2 changed files with 18 additions and 0 deletions

16
c-basic/scope.c Normal file
View File

@ -0,0 +1,16 @@
#include <stdio.h>
void foo()
{
int a;
{
int a;
}
}
int main()
{
int a;
return 0;
}