h(bar); for (size_t i = 0; i < 2; i++) { free(bar[i]); } free(bar); } See also Passing in Arrays to Functions Read Arrays online: https://riptutorial.com/c/topic/322/arrays https://riptutorial.com/ 31