Home »

Diffenentiate between an internal static and external static variable?

Question ListCategory: cDiffenentiate between an internal static and external static variable?
jamessmith05 author asked 8 years ago
1 Answers
milleranthony7 author answered 8 years ago

An internal static variable is declared inside a block with static storage class whereas an
external static variable is declared outside all the blocks in a file.An internal static variable

has persistent storage,block scope and no linkage.An external static variable has permanent

storage,file scope and internal linkage.

Please login or Register to Submit Answer