Functions in many languages

profileshivay

 you will explore functions in a number of different languages. You may work in groups. Everyone should pick a unique language and find example functions in the language. You should compare the function to the same function in either C++, Java or C# (languages everyone should be somewhat familiar with). What is the structure of the function? How is it called? Important: how are parameters passed in? You should describe passing in parameters by value, reference, copy, etc. How does it compare to the implementation in C++/Java/C#? Once you get your function(s) working, you should give a brief description of this to the class. A written description should be provided as part of your submission. 

    • 2 years ago
    • 5
    Answer(0)