What is the difference between declaration and definition?
Answer Posted / roshan
During declaration we just specify the type and no memory
is allocated to the variable. But during the definition an
initial value is assigned and memory is allocated to the
variable.
| Is This Answer Correct ? | 186 Yes | 33 No |
Post New Answer View All Answers
What is oops?what is its use in software engineering?
What is a class and object?
What does I oop mean?
What are the data types in oop?
What is encapsulation and abstraction? How are they implemented in C++?
Can main method override?
What is the point of oop?
to find out the minimum of two integer number of two different classes using friend function
why reinterpret cast is considered dangerous?
write a code for this. serial_number contained in the header of the file will be read , if this serial number is less than a previous serial number within a successfully processed file, or is the same as another serial number within a successfully processed file, or if the field contains anything other than 7 digits, then the file must error with the reason ‘Invalid SERIAL_NUMBER’.
What is super in oop?
How to call a non virtual function in the derived class by using base class pointer
What is polymorphism give a real life example?
There are two base class B1,B2 and there is one class D which is derived from both classes, Explain the flow of calling constructors and destructors when an object of derived class is instantiated.
Whats is abstraction in oops?