Global Değişkenlerin Faaliyet Alanı sayfa 26

This commit is contained in:
Mert Gör
2024-07-17 01:46:02 +03:00
parent 082312c4ac
commit 9e195402ee
6 changed files with 105 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
#include <stdio.h>
int main()
{
int a;
a = 100;
{
int b;
b = 20;
a = 10;
printf("a = %d, b = %d\n", a, b); // geçerli
}
printf("a = %d\n", a);
return 0;
}