What is the difference between declaration and definition?
Answer Posted / s
Declaration means we are just creating a variable or method.
Defination means we are assigning some value for a variable
& doing some functions in method
Is This Answer Correct ? | 116 Yes | 48 No |
Post New Answer View All Answers
Will I be able to get a picture in D drive to the c++ program? If so, help me out?
What does I oop mean?
What is encapsulation process?
What is oops in simple words?
What are properties in oop?
What are the 5 oop principles?
What is coupling in oop?
write a program that takes input in digits and display the result in words from 1 to 1000
What do you mean by overloading?
Write A Program to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions)
Why is object oriented programming so hard?
class CTest { public: void someMethod() { int nCount = 0; cout << "This is some method --> " << nCount; } }; int main() { CTest *pctest; pctest->someMethod(); return 0; } It will executes the someMethod() and displays the value too. how is it possible with our creating memory for the class . i think iam not creating object for the class. Thanks in Advance... Prakash
Why do we use encapsulation in oops?
What is the difference between static polymorphism and dynamic polymorphism?
What is the difference between a mixin and inheritance?