Ok I am reading that Sams' Teach Yourself C in 21 Days to try and get started right...well it talks briefly about a function that is in the code(which takes 2 variables, multiplies them and gives results)and I really confused, I thought it would be simple but I tried Javascript for a bit before like:
function whatever()
{
code here
}
and now C is using
int product a,b,c
and that is what a function looks like??
can someone explain to me how that is a function cause all I see it doing is delcaring 3 variables so....