I created a calloc object :
char* i2s_read_buff = (char*) calloc(1024*16, sizeof(char));
What I understood from the definition of calloc is that it will create array of 1024*16 elements and each element will be 1 byte. So it should be a 1024*16/8 = 2048
bytes array.
But
sizeof(i2s_read_buff)
produces output 4
. I was expecting 2048
as output.
Can someone explain what is going on here?