Q.

Which is the longest scope in the following code?
#include <stdio.h>

int x;
int main()
{
int y;
fun();
return 0;
}

void fun()
{
int z;
}

A. x
B. y
C. z
D. both a and b
Answer» A. x
4k
0
Do you find this helpful?
28

Discussion

No comments yet