Use of line no. 9 in the code?

what is the use of line no. 9 i.e

int n=sizeof(arr)/sizeof(int);

if the array is user defined then this is used to find the size of array