I want to create an integer array that can hold 8 bytes of data,
I have used this code
int n =50;
long long *buffer = new long long [n];
the size of long long is 8 bytes but
sizeof(buffer)
only gives 4 bytes is it that the heap doesn't allow more than 4 bytes allocation? there is something that I have missed here but don't know what it is.