Define Symbolic Constants with #define - C Preprocessor

C examples for Preprocessor:Preprocessor Operators

Description

Define Symbolic Constants with #define

Demo Code

#include <stdio.h> 

#define NUMBER 7 /*from   w w w  . j ava 2s  .  c  o  m*/

int main()
{ 
   printf("\nLucky Number %d\n", NUMBER); 
}

Result


Related Tutorials