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 |
What is the syntax for a for loop?
What is difference between rand () and srand ()?
What is size of a empty class?
7 Answers Microsoft, Tata Elxsi, Wipro,
What are the types of STL containers?
what is pulse code modulation?
What is the use of 'this' pointer?
Is there a new/delete equivalent of realloc?
Describe the role of the c++ in the tradeoff of safety vs. Usability?
Can a constructor throw a exception? How to handle the error when the constructor fails?
if there is binary tree which one is the easiest way to delete all child node?
How do you declare A pointer to a function which receives nothing and returns nothing
If dog is a friend of boy, and terrier derives from dog, is terrier a friend of boy?