how to print size of array in c code example Example: size of an array in c size_t n = sizeof myArray / sizeof *myArray;