What is difference between initialization and assignment?
Answer Posted / sweety
Initialization does the memory allocation, i.e. it assigns
the emory to the variable whereas assignment assigns a
value to the variable.
Is This Answer Correct ? | 15 Yes | 16 No |
Post New Answer View All Answers
What is the two main roles of operating system?
What are the advantages of using const reference arguments in a function?
What is enum class in c++?
Explain some examples of operator overloading?
What causes a runtime error c++?
What is a dangling pointer in c++?
What is const pointer and const reference?
What is long in c++?
Explain shallow copy?
What is class in c++ with example?
Can you overload the operator+ for short integers?
What is abstraction in c++?
Why do we use string in c++?
What does it mean to declare a member variable as static?
What is a flag in c++?