Difference between static global and global?

Answer Posted / derick

Chitra, "static global is fixed.but global variables are
changed." what does this mean?

Please do not answer like this if you are not sure.

What Rakesh said is true except that Static global
variable's scope is limited to its block.

Is This Answer Correct ?    21 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Function can be overloaded based on the parameter which is a value or a reference. Explain if the statement is true.

641


Differentiate between a constructor and a destructor in c++.

558


Which sort does c++ use?

576


How many ways can a variable be initialized into in C++?

594


Can I learn c++ without learning c?

561






Describe new operator?

616


What is the difference between a reference and a pointer?

591


How does a C++ structure differ from a C++ class?

618


Can you declare an array without a size in c++?

570


Explain one-definition rule (odr).

641


Can a program run without main?

622


What is the best c++ book?

710


Which software is best for c++ programming?

572


What is token c++?

574


What do you mean by inheritance in c++?

599