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

Register Variables

Name: Anonymous 2011-09-25 10:47

How exactly do register variables work in C? When should they be used? K&R touches upon them briefly but moves right along. Is there any source in which I can read about them in depth?

Name: Anonymous 2011-09-25 19:56

>>19

really? I can't think of any. All that comes to mind are anonymous structs and unions, but those are just types, not objects that carry any kind of value. Do you mean objects allocated on the heap?

First off, the heap doesn't fall within the realm of standard C. But whatever. I don't think you're ready for that. Second thing, an example of an unanamed variable would be malloc().

If you'd like to explain where my understanding appears to fall short, I'd like to hear it though.

So far you've failed to demonstrate that you understand the difference between a declaration and a definition. It also appears that you don't understand what a variable is in C. The fact that you refer to allocated objects on the heap also implies that you've never looked at one of the various C standars.

Need I go on you fucking jewish mental midget?

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