Can anybody tell me what is the difference between macros and constants?
anandi.sa 0
Newbie Poster
Recommended Answers
Jump to PostA macro is something that is expanded by the compiler's preprocessor. A constant is like a normal variable but whose value can not be changed, nor is a constant affected by the preprocessor.
All 4 Replies
Ancient Dragon 5,243
Achieved Level 70 Team Colleague Featured Poster
chaitalichari 0
Newbie Poster
articles 0
Newbie Poster
sarehu 84
Posting Whiz in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.