What is the difference between static global and global ?
Answer Posted / 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 |
Post New Answer View All Answers
What is vector string in c++?
What is a pointer with example?
How a modifier is similar to mutator?
What is the difference between a definition and a declaration?
Is it legal in c++ to overload operator++ so that it decrements a value in your class?
Can you use the function fprintf() to display the output on the screen?
What does #define mean in c++?
How does work in c++?
What are the steps in the development cycle?
What are maps in c++?
What is dynamic and static typing?
You run a shell on unix system. How would you tell which shell are you running?
How is static data member similar to a global variable?
What is data types c++?
What does std mean in c++?