C program to find the value of nPr(Permutation) using function

OUTPUT: