adplus-dvertising
frame-decoration

Question

A variable defined within a block is visible

a.

from the point of definition onward in the program.

b.

from the point of definition onward in the function.

c.

from the point of definition onward in the block.

d.

throughout the function.

Answer: (c).from the point of definition onward in the block.

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. A variable defined within a block is visible