Answers for "Defining a macro in a header file"

C
0

Defining a macro in a header file

/**
* 	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
Posted by: Guest on August-09-2021

Code answers related to "C"

Browse Popular Code Answers by Language