The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
x
0 votes
3 views

For the block-structured code, assuming the usual static scoping of declarations, give the scope for each of the twelve declarations.

{
   int w,x,y,z;         /* Block B1 */
   {
      int x,z;         /* Block B2 */
      {
         int w,x;      /* Block B3 */
      }
   }

   { 
       int w,x;       /* Block B4 */  
       {
          int y,z;   /* Block B5 */
        }
    }
}
in Compiler Design by Boss (46.5k points) | 3 views

Please log in or register to answer this question.

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
49,984 questions
55,135 answers
190,487 comments
85,105 users