Question: Consider the following file from some larger C program: int a; extern int b; static int c; void foo() { int a; static int b;
Consider the following file from some larger C program:
int a;
extern int b;
static int c;
void foo() {
int a;
static int b;
extern int c;
extern int d;
}
static int b;
extern int c;
For each variable declaration, indicate whether the variable has external linkage, internal (file-level) linkage, or no linkage (i.e., is local).
Step by Step Solution
3.48 Rating (161 Votes )
There are 3 Steps involved in it
int a extern int b static int c void foo int a static int b e... View full answer
Get step-by-step solutions from verified subject matter experts
