Funcion demo block scope

if i will declare variable THREE outside block but assign it value=30 inside if block, then will i’ll be able to print the value 30;

Hi nipun,
You can print value 30 outside if block but only when if if block executes.

Hi Nipun
As you are not responding to this thread, I am marking your doubt as Resolved for now. Re-open it if required.

Please mark your doubts as resolved in your course’s “ Ask Doubt ” section, when your doubt is resolved.