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
Difference between inline functions and macros?
What is an object in c++?
What is the use of function pointer?
In which situation the program terminates before reaching the breakpoint set by the user at the beginning of the mainq method?
What is difference between n and endl in c++?
Is python written in c or c++?
How would you differentiate between a pre and post increment operators while overloading?
What are c++ files?
What is the difference between global variables and static varables?
What is different in C++, compare with unix?
What is the difference between prefix and postfix versions of operator++()?
How is static data member similar to a global variable?
Difference between Abstraction and encapsulation in C++?
Can you be bale to identify between straight- through and cross- over cable wiring? And in what case do you use straight- through and cross-over?
What is a local reference?