What is the difference in use of define and const variable? |
Answer
1.type checking in const that is not a part of #define. 2.scope 3.debugging is possible with const.
Answer
const variable can be localized whereas #define variable cannot be done so.
|
|
|
First answer by Brijendra Trivedi. Last edit by ID3418871368. Question popularity: 184 [recommend question]
|
Research your answer: |
Can you answer other questions about software and apps?
|
|


