I have just started learning C and I already have some issues.

I understand that variables "n" and "k" from "main" and "binom" function are different but does the line:Code:#include <stdio.h> int binom(int n, int k) { int result=1; int i; if(n == k) return 1; if(k == 0) return 1; for(i=n;i>n-k;i--) result=result*i; for(i=1;i<=k;++i) result=result/i; return result; } int main(void) { int bnm; int n, k; for(n=0;n<10;n++){ for(k=0;k<=n;k++){ bnm=binom(n,k); printf("%ld ",bnm); } printf("\n"); } return 0; }mean it will assign "n" value from "main" function to "binom" function? (Same applies to "k")Code:bnm=binom(n,k);

I know this is stupid question, and yes I googled it but I havent found a decent answer. Thanks.