0

Can I declare a variable with a same name in two different functions?

I need to know!

10th Oct 2016, 5:24 AM
German Martinez
German Martinez - avatar
2 Answers
+ 1
Yes.. but if each declaration is inside each function, then they are going to be different variables, even if you use the same name for both.
10th Oct 2016, 5:54 AM
Nelson Urbina
Nelson Urbina - avatar
0
Of course, u can do it
10th Oct 2016, 5:27 AM
Andres Camilo Cortes
Andres Camilo Cortes - avatar