Which variable has the longest scope in the following C code?
Posted: Wed Jul 13, 2022 7:54 pm
#include <stdio.h> int b; int main() { int c; return 0; } int a;
a) a
b) b
c) c
d) Both a and b
a) a
b) b
c) c
d) Both a and b