how to find the lenght of the arrays in cpp code example Example: length of array in cpp int size = sizeof(arr)/sizeof(arr[0])