a
in this program.
One is global to the entire program and one is local to
main()
.
When the global one is changed inside of f1()
,
it doesn't change the local one in main()
and
that's the one that gets printed out in the
printf()
in main()
.
Press here to go back.