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

Explain deep copy?

614


Why is swift so fast?

626


Do inline functions improve performance?

652


What is the best free c++ compiler for windows?

592


What is binary object model?

608






Is java based off c++?

536


Is c++ free?

586


Explain virtual destructor?

678


What is malloc in c++?

561


Evaluate !(1&&1||1&&0) a) Error b) False c) True

707


What is a tree in c++?

565


what do you mean by volatile variable?

593


What are the advantages of using friend classes?

633


Which is the best c++ compiler for beginners?

568


Explain selection sorting?

646