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...

Difference between static global and global?

Answer Posted / veera

hello Sheela u r question is good, but u can access global
static through extern key word in other file,it take the
value but we can,t change the value in that file.

But in case of global variable it's possible to change
the value in other file.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the various arithmetic operators in c++?

1133


When should I use unitbuf flag?

1026


Which c++ operator cannot overload?

1023


What are c++ tokens?

1065


I want to write a C++ language program that: 1. Reads in the size of a square from the screen; 2. Prints a hollow square of that size out of “-“, “|” and blanks on screen; 3. Prints the same hollow square onto a text file. The program should work for squares of all side sizes between 1 and 20.

2799


What is a static element?

1084


What are the advantages of using a pointer?

1082


why is iostream::eof inside a loop condition considered wrong?

1061


What is virtual destructor? What is its use?

1076


What is nested class in c++?

969


Is it possible to provide special behavior for one instance of a template but not for other instances?

1135


Can member data be public?

1040


Write a program to show polymorphism in C++?

1154


What is the best book for c++ beginners?

1049


What is a buffer c++?

1067