Assigning values to functions (Newbie)
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: mean it will assign "n" value from "main" function to "binom" function? (Same applies to "k")
int binom(int n, int k)
if(n == k) return 1;
if(k == 0) return 1;
int n, k;
I know this is stupid question, and yes I googled it but I havent found a decent answer. Thanks.