how would i know the size of a character array created on heap...
thanks!Code:char * x = new char[90]; std::cout << sizeof(x); //returns 4 assume the size of pointer // dereferencing returns 1...
how would i know the size of a character array created on heap...
thanks!Code:char * x = new char[90]; std::cout << sizeof(x); //returns 4 assume the size of pointer // dereferencing returns 1...