C Empty Struct Pointer on Stack
I would like to initialize a struct with all fields as zero and immediately assign it to a pointer. The struct will only need to be used within static functions whose lifetime is completely contained within the calling function. This is the line I currently have move_stats *mv_s = (move_stats *){0}; The struct is defined… Read More C Empty Struct Pointer on Stack