interactive-tutorials icon indicating copy to clipboard operation
interactive-tutorials copied to clipboard

learn-c: Correct usage definition of static variables

Open santoshx opened this issue 1 year ago • 1 comments

santoshx avatar Jul 17 '23 13:07 santoshx

Perfect change, everything correct.

francescoalterio avatar Nov 23 '23 12:11 francescoalterio

The pull request is broadly correct - you cannot access a static c variable from anywhere in the file. It just gets retained in memory but you can't access it outside of its original scope.

ppisecky avatar Apr 30 '24 17:04 ppisecky