someone pls enlighten me, and hopefully with explanation.
thank in advance!
which of the four given statements is true about the following program?
int i = 0;
void f(long i);
void main (void){
f(i);
}
void f (long i){
long k = i;
static int j = 1;
if(j>1)
k = i+2;
j = j*2;
}
(a) variable i at line 1 has interenal linkage
(b) variable i at line 6 has function prototype scope
© variable j at line 8 has automatic storage
(d) varirable k at line 7 has no linkage


Sign In
Create Account

Back to top









