0

What is a function?

Parameterized as well as non-parameterized.

29th Dec 2016, 1:28 PM
Lemon Arya
Lemon Arya - avatar
5 ответов
+ 6
A block of code that's executed when called.
29th Dec 2016, 1:36 PM
Valen.H. ~
Valen.H. ~ - avatar
+ 6
int total_steps; function walk(steps){total_steps+=steps;} walk(5);
29th Dec 2016, 1:39 PM
Valen.H. ~
Valen.H. ~ - avatar
+ 1
Ok
29th Dec 2016, 1:37 PM
Lemon Arya
Lemon Arya - avatar
+ 1
Can u explain by an example
29th Dec 2016, 1:37 PM
Lemon Arya
Lemon Arya - avatar
+ 1
Thanks
29th Dec 2016, 1:40 PM
Lemon Arya
Lemon Arya - avatar