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 difference between const and constexpr?
in C++ , the word plus plus who found this?
why the size of an empty class is 1
what is the difference between overloading & overriding? give example.
What is tellg () in c++?
What is the difference between #import and #include?
What are the two main components of c++?
How does list r; differs from list r();?
what is VOID?
What is a c++ object?
What is c++ hash?
What is the difference between public, private, protected inheritance?