Mendefinisikan makro dalam file header

/**
* 	DEFINING A MACRO IN A HEADER FILE IN C
* MAX_ARRAY_LENGTH: name of the macro 
* 20 is the value of the macro
* Desc: whenever MAX_ARRAY_LENGTH is called, it will be replace with the value 20
*/

#define MAX_ARRAY_LENGTH 20
Beta Scribbles