I'm trying to create an array of 18 elements of BYTE whit calloc but don't know why calloc only give me back only 8 elements, I did it manually in the stack and the program works.
int arrsize;
BYTE copyrow[18];
arrsize = sizeof(copyrow);
When i compile here arrsize = to 18, so, evrething is fine. But when I use calloc:
int arrsize;
BYTE *copyrow;
copyrow = calloc(18, sizeof(BYTE));
arrsize = sizeof(copyrow);
Now the compiler say arrsize = to 8, so I don't know what's happening here. Need help.