Fahrenheit example - functions


New to programming - and I understand the ‘function’ example for converting fahrenheit to celsius, however I am baffled on where the value of zero is assigned to ‘cel’ - is it because the float expects a number unless one is assigned it is defaulted to zero? Thanks…


The 0 is sent from main, via the freezeInC variable. It is set to 0, and is passed as the argument when fahrenheitFromCelsius is invoked.


Thank you!!!