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

What is a container class?

617


What are c++ tokens?

590


Is c++ a good first language to learn?

573


What does std :: flush do?

680


Can union be self referenced?

573






What is ios class in c++?

575


What is a tuple c++?

540


What do you mean by early binding?

599


What is the difference between a baller and a reference in C++?

574


Explain what data encapsulation is in c++?

567


Explain function overloading

583


What is the basic difference between C and C++?

620


What is #include iostream?

731


Write some differences between an external iterator and an internal iterator?

579


What are the four main data types?

580