What is the difference between static global and global ?
Answer Posted / shakti singh khinchi
Scope of static variable is limited to different function
calls for a file, whereas global variable exists in multiple
files.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What are the three forms of cin.get() and what are their differences?
What are the defining traits of an object-oriented language?
What is #include cmath?
What is the purpose of the "delete" operator?
What is ofstream c++?
Is c++ a float?
Explain how to initialize a const member data.
Explain dangling pointer.
Why do we use structure in c++?
What is the use of volatile variable?
What is ifstream c++?
What do you mean by inheritance in c++? Explain its types.
What do you mean by overhead in c++?
What are stacks? Give an example where they are useful.
Explain the isa and hasa class relationships.