Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is the difference between static global and global ?

Answers were Sorted based on User's Feedback



What is the difference between static global and global ?..

Answer / leossk

Scope of the static variable is limited to that file, while
global is for all the files in that project space.

Is This Answer Correct ?    5 Yes 0 No

What is the difference between static global and global ?..

Answer / 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

More C++ General Interview Questions

Which is not a valid keyword a) public b) protected c) guarded

0 Answers  


What is a character in c++?

0 Answers  


Why for local variables the memory required to hold the variable is allocated from the program stack and for new its allocated from the heap?

1 Answers  


Write some differences between an external iterator and an internal iterator? Describe the advantage of an external iterator.

0 Answers  


What is the difference between an external iterator and an internal iterator?

0 Answers  


Explain how an exception handler is defined and invoked in a Program.

0 Answers  


What is a "RTTI"?

6 Answers   HCL,


How would you use the functions memcpy(), memset(), memmove()?

0 Answers  


What is the difference between a definition and a declaration?

0 Answers  


Explain the differences between private, public and protected and give examples.

0 Answers  


What is a c++ map?

0 Answers  


Is there anything you can do in C++ that you cannot do in C?

1 Answers  


Categories