0

Please what is the use of (int num) that is what does it do in a function??

Function

1st Feb 2021, 9:19 PM
Tchamba Steve
Tchamba Steve - avatar
3 Answers
+ 3
It is declaring of variable inside a function which means it is local to that function ,you can't access it outside of that function.
1st Feb 2021, 9:28 PM
Abhay
Abhay - avatar
+ 1
This type of variable declaration is common in statically typed languages.
1st Feb 2021, 9:41 PM
Sonic
Sonic - avatar
0
Understood thanks
1st Feb 2021, 9:35 PM
Tchamba Steve
Tchamba Steve - avatar