C-Sharp | Java | Python | Swift | GO | WPF | Ruby | Scala | F# | JavaScript | SQL | PHP | Angular | HTML
C #defineThe #define preprocessor directive is used to define constant or micro substitution. It can use any basic data type. Syntax: #define token value Let's see an example of #define to define a constant. #include Output: 3.140000 Let's see an example of #define to create a macro. #include Output: Minimum between 10 and 20 is: 10
Next TopicC #undef
|