The #define preprocessor directive is used to define constant or micro substitution. It can use any basic data type.
Let's see an example of #define to define a constant.
Let's see an example of #define to create a macro.
Minimum between 10 and 20 is: 10
JavaTpoint offers too many high quality services. Mail us on h[email protected], to get more information about given services.
JavaTpoint offers college campus training on Core Java, Advance Java, .Net, Android, Hadoop, PHP, Web Technology and Python. Please mail your requirement at [email protected].
Duration: 1 week to 2 week