const qualifier with function overloadingdhayden and JLBorges, thanks for the explanation.
const qualifier with function overloading[code]#include<iostream> using namespace std; class A{ public: void fun(char *a) const ...
copy constructorTo: Cubbi I used gdb to check the address of object 't' inside fun() and object 's3' inside main()....
copy constructor[code] #include <iostream> using namespace std; class sample { public: int i; sample(int ii ...
assign memory using newThanks a lot for the explanation. I got it.
This user does not accept Private Messages