What is difference between #define and const?
Answer Posted / sirin
#define MAX 100 - create constant with no type information
const int max = 100 - with type information
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
What is use of overloading?
What is the difference between inheritance and polymorphism?
What is polymorphism and why is it important?
What is the real time example of inheritance?
INSTANCE FIELDS DECLARED private ARE ACCESSIBLE BY THE METHODS ONLY.CAN WE CHANGE THE private FIELD OF AN OBJECT IN A METHOD OF SOME OTHER OBJECT OF THE SAME CLASS?
class type to basic type conversion
Can private class be inherited?
What is object in oops?
What exactly is polymorphism?
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?
Describe these concepts: Polymorphism, Inheritance and Abstraction.
What is object in oop with example?
What are oops functions?
I have One image (means a group photo ) how to split the faces only from the image?............ please send the answer nagadurgaraju@gmail.com thanks in advace...
i am getting an of the type can not convert int to int *. to overcome this problem what we should do?