23.03.2013 Views

Arrays, parameter passing, pointers and dynamic allocation. - ELIS

Arrays, parameter passing, pointers and dynamic allocation. - ELIS

Arrays, parameter passing, pointers and dynamic allocation. - ELIS

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

typedef<br />

S typedef is a keyword that declares synonyms (aliases) for<br />

previously defined data types<br />

S Does not create a data type, it creates a type name (usually<br />

shorter, simpler) that maybe be used in the program<br />

S typedef unsigned long int ulint;<br />

S ulint myNum;<br />

S size_t is a typedef for unsigned int (used for string’s length())<br />

49

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!