What is difference between #define and const?
Answer Posted / sarath
#define is the macro,const is modifier forexample const is
used in theb program we can not modify the data
| Is This Answer Correct ? | 10 Yes | 1 No |
Post New Answer View All Answers
What is difference between abstraction and encapsulation?
Why is abstraction needed?
What is overloading and its types?
What is the purpose of polymorphism?
What is pure oop?
What is multilevel inheritance?
What is polymorphism explain its types?
Describe these concepts: Polymorphism, Inheritance and Abstraction.
How to use CMutex, CSemaphore in VC++ MFC
What are functions in oop?
Write a C++ program without using any loop (if, for, while etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not use 200 print statements!!!)
What is encapsulation with real life example?
What are the two different types of polymorphism?
What is a class and object?
What is a superclass in oop?