Well, I know sizeof(pointer) does not give me the size of the allocated space, but the size of the pointer itself. But there isn't a way to know it? Since if we use the free() function it will free the allocated space receiving only the pointer as argument. How's that?