Programming with C

⌘K
  1. Home
  2. Docs
  3. Programming with C
  4. Basics of C Programming
  5. Constants
  6. Symbolic Constants

Symbolic Constants

Symbolic constants are created using define preprocessor directive.

Example

#define PI 3.14

PI is a symbolic constant with the value 3.14

Each symbolic constant is replaced by its actual value during preprocessing

Views: 0

How can we help?

0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments