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
What is stream in oop?
What is coupling in oops?
Following are the class specifications: class {int a}; class {int b}; Using friend funtion,calculate the max of two objects and display it.
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!!!)
Why it is called runtime polymorphism?
What is coupling in oop?
Explain the advantages of inheritance.
Write a c++ program to display pass and fail for three student using static member function
What is inheritance write a program to show use of inheritance?
Is html an oop?
What are the 3 pillars of oop?
What is use of overloading?
What is the renewal class?
What is polymorphism and example?
design a c++ class for the chess board,provide a c++ class definition for such class(only class definition is required)