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 flush programming?
What are the advantage of using register variables?
What are the various operations performed on stack?
Can create new c++ operators?
Why is c++ called oops?
Difference between struct and class in terms of access modifier.
What is a null object in c++?
a class that maintains a pointer to an object that is programatically accessible through the public interface is known as?
What is the difference between containment and delegation?
Where Malloc(), Calloc(), and realloc() does get memory?
What is c++ namespace?
Does c++ have foreach?