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

What do the header files usually contains?

621


What is a flag in c++?

603


Please explain the reference variable in c++?

613


We use library functions in the program, in what form they are provided to the program?

590


What do you mean by function and operator overloading in c++?

606






What is the type of 'this' pointer?

591


What is a manipulative person?

537


What is vectorial capacity?

640


What is the importance of mutable keyword?

577


Do you know what is overriding?

615


Define what is constructor?

579


How to access a variable of the structure?

582


What are the various operations performed on stack?

627


Explain pass by value and pass by reference.

590


what is a class? Explain with an example.

613