Q:

Differentiate between an internal static and external static variable?

0

Differentiate between an internal static and external static variable?

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

Answer:

In C language, the external static variable has the internal linkage and the internal static variable has no linkage. It is the reason they have a different scope but both will alive throughout the program.

A external static variable  ===>>>  internal linkage.
A internal static variable   ===>>>  none .

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
What is the difference between typedef & Macros?... >>
<< What are storage classes in C language?...