What are the difference between reference variables and pointers in C++?
Pointers: A pointer is a variable that holds memory address of another variable. ... References : A reference variable is an alias, that is, another name for an already existing variable. A reference, like a pointer, is also implemented by storing the address of an object.
Is This Answer Correct ? | 0 Yes | 0 No |
when can we use virtual destructor?
7 Answers HCL, HP, Virage Logic,
What is the object serialization?
Write a program using GUI concept for the scheduling algorithms in Operating system like SJF,FCFS etc..
What is capacity in vector in c++?
Which is the best c++ compiler for beginners?
Why c++ is created?
Which is most difficult programming language?
Show the declaration for a static member variable.
Why are pointers not used in c++?
Differentiate between a pointer and a reference with respect to c++.
How many types of casting are there in C++? When is a dynamic cast,static_cast,reinterpret cast used?
How is data hiding achieved in c++?