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
describe private access specifiers?
If a header file is included twice by mistake in the program, will it give any error?
Please explain the reference variable in c++?
What is the difference between global variables and static varables?
What is anonymous object in c++?
Why c++ is not a pure oop language?
what kind of projects are suitable for c and c++
What are shallow and deep copy?
Why do we use classes in c++?
Will the following program execute?
How is new() different from malloc()?
Why is c++ difficult?
What is virtual base class?
Define vptr.
What is prototype in c++ with example?