sizeof dynamically allocated arrays in c
The MAX(a,b) macro bug I posted last was something I had done before. Today and Yesterday I spent a good few hours running over my old mistakes. What’s a difference between: unsigned char *dynArray = malloc(500); unsigned char trueArray[500]; well, Today’s arrrrrrg is that sizeof (dynArray) is just the size of a pointer, not the […]