Answer Posted / ravi.g
pointers have valid memory but reference does not have
memory
It means pointers points to some address(memory)
Reference does not points to any address(memory)
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What are register variables?
Explain what data encapsulation is in c++?
Does c++ support multilevel and multiple inheritances?
When to use “const” reference arguments in a function?
What is lazy initialization in c++?
Explain what are accessor methods?
Please explain the reference variable in c++?
what are the iterator and generic algorithms.
Is c++ a dying language?
What is the best it certification?
Write about the stack unwinding?
Do you know what are the new features that iso/ansi c++ has added to original c++ specifications?
Which command properly allocates memory a) char *a=new char[20]; b) char a=new char[20]; c) char a=new char(20.0);
Is it possible to get the source code back from binary file?
What is the use of endl?