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
Get step-by-step solutions from verified subject matter experts
