Wednesday, March 19, 2014

Class of March 19, 2014

     In today's lecture, the professor discussed: void functions and call-by-reference parameters. Void functions do not return a value. I remember that I used void functions for one the labs, the problem that outputs the horoscopes. Call-by-reference parameters allow us to change the variable used in the function call. Call-by-reference parameters are useful but the programmer has to be careful when he or she uses them.

No comments:

Post a Comment