then how static can be an extern?

Extern means that this variable can be used in other files also, whereas
static means this variable is initialized only once and its scope is static
with respect to its scope which can be either a function or file. So we
cant declare a variable static and extern at the same time.

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to algogeeks@googlegroups.com.
To unsubscribe from this group, send email to 
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to