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 does extern mean in a function declaration in c++?
How does java differ from c and c++?
What is the use of endl in c++ give an example?
Can we declare a base-class destructor as virtual?
what are the events occur in intr activated on interrupt vector table
How much do c++ programmers make?
What is c++ best used for?
Why we use #include iostream in c++?
Why do we use classes in programming?
Write some differences between an external iterator and an internal iterator? Describe the advantage of an external iterator.
Explain how the virtual base class is different from the conventional base classes of the opps.
What is encapsulation in c++?
Can comments be longer than one line?
Can we use this pointer in a class specific, operator-overloading function for new operator?
Which sort does c++ use?