diff between pointer and reference in c++?
Answer / 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 |
What happens if an exception is throws from an object's constructor and from object's destructor?
How new/delete differs from malloc()/free?
What is the difference between new() and malloc()?
What is a built-in function?
What is the extraction operator and what does it do?
Can we get the value of ios format flags?
Distinguish between a # include and #define.
Is rust better than c++?
Difference between overloading vs. Overriding
What is realloc() and free()? What is difference between them?
List the types of polymorphism in c++?
On throwing an exception by the animal constructor in p = new animalq, can memory leak occur?