+ 1
What does returning do???
I dunno wot it means
3 Respuestas
+ 1
it return values from sub function to main function in cpp
0
Here's a quick example:
def add(a, b):
return (a + b)
x = add(3, 4)
When the function returns the sum of a and b, which is 7, the number 7 will be stored in x.
0
Thanks 😀