Difference between static global and global?
Answer Posted / rakesh
Static global has file scope and it can't be accessed
outside of the file.
while global has program scope and can be accessed
outside of file in which it has been defined using extern
keyword.
Is This Answer Correct ? | 139 Yes | 7 No |
Post New Answer View All Answers
What is endl?
What is the best c++ compiler for windows 10?
What is the difference between map and hashmap in c++?
Which is not a valid keyword a) public b) protected c) guarded
What is the hardest coding language to learn?
Are vectors passed by reference c++?
What are dynamic type checking?
Can we overload operator in c++?
What is a constructor and how is it called?
How do you establish a has-a relationship?
What is the most common mistake on c++ and oo projects?
What is a constant? Explain with an example.
Why we use #include iostream in c++?
What are the different types of comments allowed in c++?
Why is c++ so fast?