0
Cn u hlp me about functions...wht is rerturn type??
6 ответов
+ 1
Cn u give me some examples on function return type
0
A function can return one value, and this value has a type like every value.
So the return type is the type of what your function is going to return.
0
But is it required to return any value in function
0
No, then you choose 'void' as return type (returning nothing).
0
Bro...will u plszz call me!!!😇😇😊
0
Gaurav Panwar, what do you mean?
Summary:
int f() means: f will return an int;
char f() means: f will return a char;
void f() means: f will return nothing.