Home / Questions / What is the purpose of extern storage specifier?
Explanatory Question

What is the purpose of extern storage specifier?

👁 1,006 Views
📘 Detailed Answer
🕒 Easy to Read
Read the answer carefully and go through the related questions on the right side to improve your understanding of this topic.

Answer with Explanation

Used to resolve the scope of global symbol.

Example: 
main() {
extern int j;
Printf("%d",j);
}

int j = 20;