Please try your approach on IDE first before moving on to the solution. The factorial is always found for a positive integer by multiplying all the integers starting from 1 till the given number. C n r n n-1.
Here p is a prime number greater than n.
It also gives the number of ways the r object can be chosen from n objects. C Program to Convert Infix to Postfix Expression using Stack. C Program to Print Pascal Traingle. 10 C 2 is 45 and 45 13 is 6.