0

What are advantages of function

i want 6 valid advantages

14th Nov 2016, 3:51 AM
Akshay
4 Respostas
+ 2
The one simple reason to use a function is so that you're writing way, way less code. It's really a time saver and stress reducer.
14th Nov 2016, 3:55 AM
Keto Z
Keto Z - avatar
+ 2
for template with deffrint type but same work. less code less rewrite the code. can be saved in memory for cpu optimaztion
14th Nov 2016, 9:11 AM
George Rabbat
George Rabbat - avatar
0
For reducing a time and decomposition of a problem we used functions
14th Nov 2016, 7:00 AM
Ajeet Singh
Ajeet Singh - avatar
0
funtions are used so as to write less codes that performs huge task on your program. example :- A juice blender is a function and it returns blended juice. if you put in apples into the juice blender, it returns apple juice. if you put in oranges into the juice blender, it returns orange juice. instead of having different juice blenders in your house, you just need one juice blender that does the task depending on the fruit you put into the juice blender.
14th Nov 2016, 11:17 AM
Franky BrainBox
Franky BrainBox - avatar