What is difference between initialization and assignment?
Answer Posted / zuber
Initialization can be can be done at the time of
declaration where as assiginment can be done anywhere
| Is This Answer Correct ? | 55 Yes | 11 No |
Post New Answer View All Answers
What are c++ variables?
What is a v-table?
What is the difference between multiple and multilevel inheritance in c++?
Explain terminate() and unexpected() function?
Should the member functions which are made public in the base class be hidden?
If a round rectangle has straight edges and rounded corners, your roundrect class inherits both from rectangle and from circle, and they in turn both inherit from shape, how many shapes are created when you create a roundrect?
Is c++ a pure oop language?
What is the difference between public and private data members?
What are the advantages of using pointers in a program?
What does it mean to declare a member function as virtual?
Can the creation of operator** is allowed to perform the to-the-power-of operations?
What is c++ used for in games?
If dog is a friend of boy, is boy a friend of dog?
What is c++ hiding?
What is prototype in c++ with example?