'C' Language
Collapse
X
-
Tags: None
-
A static variable is one that's ***ociated with a cl***, not objects of that cl***. Let's take a look at an example. To keep things as simple as possible, we'll use a public static variable. If you haven't come across public yet, don't worry about it! In these particular examples, actually it makes no difference.
Comment