What is the correct way to create a new instance of a struct? Given the struct:
struct listitem { int val; char * def; struct listitem * next; };
struct listitem newItem; // Automatic allocation newItem.val = 5;
Here's a quick rundown on structs: http://www.cs.usfca.edu/~wolber/SoftwareDev/C/CStructs.htm