0
What is a function?
Parameterized as well as non-parameterized.
5 odpowiedzi
+ 6
A block of code that's executed when called.
+ 6
int total_steps;
function walk(steps){total_steps+=steps;}
walk(5);
+ 1
Ok
+ 1
Can u explain by an example
+ 1
Thanks