What is the difference between static global and global ?
Answers were Sorted based on User's Feedback
Answer / leossk
Scope of the static variable is limited to that file, while
global is for all the files in that project space.
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / shakti singh khinchi
Scope of static variable is limited to different function
calls for a file, whereas global variable exists in multiple
files.
| Is This Answer Correct ? | 2 Yes | 0 No |
What is the Diffrence between a "assignment operator" and a "copy constructor"?
What are the three forms of cin.get() and what are their differences?
How to give an alternate name to a namespace?
What does I ++ mean in c++?
What is set in c++?
How do you establish a has-a relationship?
Is multimap sorted c++?
Does c++ cost money?
How can virtual functions in c++ be implemented?
Explain the static storage classes in c++.
What is stl containers in c++?
What is the difference between a definition and a declaration?