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

Pages: 1-

Difference between struct an pointer array

Name: Anonymous 2010-07-02 13:29

So lets say i have a pointer array and a struct, what in C makes struct different or they are working just the same way under the hood?

Name: Anonymous 2010-07-02 13:31

>>1
Go away, FrozenVoid.

Name: Anonymous 2010-07-02 13:34

pointer array
´Д`
Anyway they're about the same ``under the hood'' as any other construct. Using the address of a variable just works the same way. Calling a function pointer just works the same way.
Under the hood, it's all just memory offsets.

Name: Anonymous 2010-07-02 13:42

>>2
You know there is an overhead with structs vs raw pointers vs  variables vs constants.

_____________________________
Live fast, troll hard

Name: Anonymous 2010-12-17 1:24

Are you GAY?
Are you a NIGGER?
Are you a GAY NIGGER?

If you answered "Yes" to all of the above questions, then GNAA (GAY NIGGER ASSOCIATION OF AMERICA) might be exactly what you've been looking for!

Name: Anonymous 2011-02-03 0:17


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