What is difference between #define and const?
Answer Posted / chitransha seth
with # define u can always undefine the variable by using
# undef but a const once defined cannot be altered
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
String = "C++ is an object oriented programming language.An imp feature of oops is classes and objects".Write a pgm to count the repeated words from this scenario?
Why is encapsulation used?
What is the use of oops?
What are classes oop?
What is abstract class in oop?
what is graphics
How to use CMutex, CSemaphore in VC++ MFC
They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?
What is inheritance in simple words?
What is the main purpose of inheritance law?
What is property in oops?
What does sksksk mean in text slang?
What is polymorphism what is it for and how is it used?
What are oops functions?
What is encapsulation with example?