0
the parameter which is to be passed in the function is to be declared first?
2 Answers
+ 4
No. Defining the function is enough. And it's the arguments that you pass to the function after you invoke it.
0
if you want use locally, no, only in the function, but, if you want use globally data, you can declare before the function.