C pointers for dummies (like me :)

Martin ZellerANSI C Leave a Comment

Just a little piece of code in C for clearing up pointers… look at the comments in the first part! (If you need an environment to develop in C on windows, find a solution here: environment for ansi c on windows [c] void change(short*, short*); int main(void) { short *pointer1 = NULL; short *pointer2 = NULL; short value1 = 1111; …