Question: Consider the following skeletal C program: int a, e, f; /* definition 1 */ void fun(void) { int a, b, c; /* definition 2 */

Consider the following skeletal C program:

int a, e, f; /* definition 1 */

void fun(void) {

int a, b, c; /* definition 2 */

... <----------------------------------------- 1

while( ... ) {

int b, c, d; /* definition 3 */

... <--------------------------------------- 2

for( ... ) {

int c, d, e; /* definition 4 */

{int a, c; /* definition 5 */

... <----------------------------------- 3

}

... <------------------------------------ 4

}/* end for */

... <------------------------------------- 5

}/* end while */

... <---------------------------------------- 6

}/* end fun */

For each of the marked points list each visible variable, along with the definition that defines it.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!