Two variable cannt have the same name in a)function
b.Block
c.File d)--- c section
Answers
Answered by
0
Explanation:
a) function
it is the correct answer
Answered by
0
Two variables cannot have the same name both in “function” and “block”. Though the type of variable is different, most of the programming languages does not allow users to create variable in the same name, because the compiler / interpreter cannot understand the purpose and it will lead to improper debugging and execution.
Thus it is better to avoid giving same name to multiple variables in function or block or a procedure.
Similar questions