I wrote this article in order to explain what really happens when an input parameter gets passed into a function, both in C and Javascript.
To run the javascript file, type in the command "node learn.js" To run the C file, type in the command "make"