0

what is it mean that a method reaturn a value or not for example using void to not return a value what it means at deep down of it? what is the big deal ?

5th Jul 2016, 12:56 PM
Mehran
Mehran - avatar
3 Answers
+ 2
actually you see that when use void before declaring func you expect it to keep its performance,results in its box so that it does not hampers ,disturb ur main func.when u use int ,char etc return type u want the function to return some value of resp type to the variable that is assigned to that function ex.- x= max(x,y)..........in main func this when called should return something int or char type resp....if u didn't clear itself then reply it hear... and give ur no...bro
5th Jul 2016, 2:38 PM
SWASTIK
SWASTIK - avatar
0
thank you ;)
6th Jul 2016, 1:55 PM
Mehran
Mehran - avatar
0
there was a lot of terminology used in that comment, as well as incorrect grammar, that made that comment rather confusing. you lost me at "hello"
11th Jul 2016, 7:36 AM
SerenityPrim3
SerenityPrim3 - avatar