Question: void fun(void) { int a, b, c; /* definition 1 */ ...... while (...) { int b, c, d; /* definition 2 */ ......

void fun(void) {

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

......

while (...) {

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

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

while (...) {

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

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

}

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

}

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

}

For each of the four marked points in this function, list each visible variable, along with the number of definition statement that defines it.

For example: (your answer must be in the same format)

point 1: a 1

b 2

c 2

d 2

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!