This is a discussion on Is there any difference within the C and C++ forums, part of the Programming Talk category; Is there any difference between const Exforsys = 500; and #define Exforsys = 500 If so what are they?...
|
|||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
define is directive for compiler. While compiling, when compiler sees Exforsys, it replaces it with the given value and then compiles it.
const is just like anyother variable (well, you can't change it ![]() |
![]() |
| Thread Tools | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Property Difference | rachelle | Java | 0 | 12-15-2006 02:18 PM |
| difference between winrunner 7./7.6 | zecar | Software Testing | 1 | 11-13-2006 03:32 AM |
| Linux vs. Windows web Hosting, does it make a difference? | sanereddy | Unix Articles and Tutorials | 7 | 04-23-2006 02:39 PM |
| comp.lang.c Answers to Frequently Asked Questions (FAQ List) | Steve Summit | Tech FAQ | 0 | 06-01-2004 07:00 AM |
| Smalltalk FAQ (v.1.0) | Vikas Malik | Tech FAQ | 0 | 04-17-2004 08:27 AM |