Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

static in C

Name: Richard 2010-12-22 7:35

Hi. (:

I'm a C# programmer who recently had to write some C code. I found out that C has the static keywoard but C doesn't have classes so it can't do the same thing static does in C#. Please explain static in C to me.

Name: Anonymous 2010-12-22 14:17

>>12
You can think of both C meanings as "Make this symbol live at the global level, but define the it only for the current scope"

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List