text: Iterative Function to calculate ( nCr ) % p and save in f [ n ] [ r ]
code: void nCr ( long long int n , long long int p , int f [ ] [ 100 ] , int m ) { for ( long long int i = 0 ; i <= n ; i ++ ) { for ( long long int j = 0 ; j <= m ; j ++ ) {