Difference between static global and global?
Answer Posted / ravi.g
global static variables have no file scope since they can
not be accessed from other files by using extern keyword
Global variables have the file scope since they can be
accessed from other files using extern keyword
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
How do you master coding?
What does the linker do?
What is a local reference?
What is enum class in c++?
What is the use of main function in c++?
what are the decision making statements in C++? Explain if statement with an example?
Is map ordered c++?
Is swift a good first language?
Can constructor be private in c++?
Can you be able to identify between straight- through and cross- over cable wiring? And in what case do you use straight- through and cross-over?
What is the cout in c++?
What is a buffer c++?
What is general format for a prototype?
Can comments be nested?
What is a node class in c++?