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


Please Help Members By Posting Answers For Below Questions

which operator is used for performing an exponential operation a) > b) ^ c) none

602


What should main() return in c and c++?

520


What is an arraylist c++?

682


What is a multimap c++?

667


What information can an exception contain?

663






Why was c++ made?

648


What is function overloading in C++?

721


How does java differ from c and c++?

535


What is format for defining a structure?

582


What do the keywords volatile and mean mutable?

601


Is dev c++ free?

610


What apps are written in c++?

600


What is the output of the following program? Why?

618


What is a string example?

543


What is a driver program?

624