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 full form of c++?
What are the characteristics of friend functions?
What is a local variable?
Why isn't sizeof for a struct equal to the sum of sizeof of each member?
What does int * mean in c++?
What is exception handling? Does c++ support exception handling?
sizeof - is it a function or operator?
what is the difference between linear list linked representaion and linked representation? what is the purpose of representing the linear list in linked represention ? is it not avoiding rules of linear represention?
How to change constant values?
What are the different data types present in C++?
What is c++ runtime?
What is the use of c++ programming language in real life?