About this document
Understanding Typedef in C Programming by sabarin_72 is a document available to read on EtoBox.
1) Typedefs allow for more readable code by simplifying complex declarations and improving portability. 2) Typedefs obey scope rules while #defines have global effect. 3) There was an error in declaring a structure that contained a pointer to itself before defining the pointer type. This was rectified by defining the structures and pointers separately.
- Author
- sabarin_72
- Language
- EN