+ 2

About functions...

Hello so i learned functions i got it but not 100% can somone explain it to me?

5th Sep 2017, 4:08 PM
Cout
Cout - avatar
6 Answers
+ 1
Functions are separated codes that execute a specific function. They allow you reuse this part of code as long as you need, just calling the function. - Functions also makes easier the process of fix code because you need to fix a bug in only one place of the code. - Your code becomes cleaner and easy to understand. - Preventing the repetition of code, your program will be smaller, at the end. Of course there is some others advantages that I forgot hahaha, but this is the most important for you at the moment, in my point of view. With the practice this and others advantages are going to be clear for you.
6th Sep 2017, 1:06 AM
Igor Nunes GervĂĄsio
Igor Nunes GervĂĄsio - avatar
+ 6
think like this: you have peace of code you called it "possible! , all time you call it , it's print possible! hope this weird answer helped you to understand what is functions :P
5th Sep 2017, 4:13 PM
AL.The.Flame!
AL.The.Flame! - avatar
+ 2
sure was
5th Sep 2017, 4:15 PM
Cout
Cout - avatar
+ 1
functions are basically the used to divide our big and complex program in small and easy blocks or parts. understanding functions is very easy ,try to read codes in terms of compiler.
5th Sep 2017, 6:07 PM
Himanshu Dubey
Himanshu Dubey - avatar
0
yea i got it i said i know the most of it
5th Sep 2017, 6:08 PM
Cout
Cout - avatar
0
Thank you!
9th Sep 2017, 11:10 AM
Cout
Cout - avatar