In C address returned by malloc() typecasts implicitly and in C++ I need to typecast explicitly. But I'm using an integer pointer which will point out to next address according to the pointer arithmetic, then why do I need to typecast memory address?
I'm actually using 'new' keyword but I need to clear my thought on this.