I get a compile time error. I know this has something to do with arrays
and pointers but I can't figure out what is wrong with line 56:
LINE 56: psnode++ = &root_node;psnode++ yields a value, and does not represent an object.
I will not try to guess what you meant to say, but note that
*(psnode++) = root_node;
is legal and might be related to your intent.
Note that you also omitted
#include <ctype.h>