Examveda

Which variable has the longest scope in the following C code?
#include <stdio.h>
int b;
int main()
{
    int c;
    return 0;
}
int a;

A. a

B. b

C. c

D. Both a and b

Answer: Option B


This Question Belongs to C Program >> Function

Join The Discussion

Related Questions on Function