Difference between static global and global?
Answer Posted / nischal bansal
Static global variable can be used only in the file, it is
declared whereas global variable can be used in other files
also. we have to include the file, in which we have
declared the variable
| Is This Answer Correct ? | 2 Yes | 3 No |
Post New Answer View All Answers
How the memory management in vectors are being done. What happens when the heap memory is full, and how do you handle it ?
What are 2 ways of exporting a function from a dll?
What are the basics of local (auto) objects?
Write about all the implicit member functions of a class?
What are maps in c++?
How one would use switch in a program?
what are function pointers?
What is the history of c++?
What is encapsulation in C++? Give an example.
What is the basic structure of a c++ program?
What are c++ redistributables?
What is c++ & why it is used?
What is the use of main function in c++?
What are proxy objects in c++?
Who discovered c++?