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


Please Help Members By Posting Answers For Below Questions

What are proxy objects in c++?

643


How do I get good at c++ programming?

602


What is abstraction in c++?

683


What are references in c++? What is a local reference?

576


What are the 4 types of library?

595






What is a multimap c++?

682


Can we change the basic meaning of an operator in c++?

655


How does class accomplish data hiding in c++?

660


What is flag in computer?

607


Which is the best c++ compiler for beginners?

559


Explain what you mean by a pointer.

630


How many keywords are used in c++?

558


How do c++ struct differs from the c++ class?

592


What is the use of main function in c++?

529


What is c++ code?

587