Question
What will be the scope of the variables a, b, c, d, e?

Answer

Variable a,b and c has local scope of show(). Variable x and y has local scope of show1(). Variable z has global scope.

Need a full question paper?

Generate a complete, print-ready paper with questions like this in minutes — across 16+ boards, with answer keys.

Start Generating Free