Computer Science, asked by munnu64, 1 year ago

Two variable cannt have the same name in a)function



b.Block



c.File d)--- c section

Answers

Answered by standardyash007
0

Explanation:

a) function

it is the correct answer

Answered by lovingheart
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