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

in one file global variable int i; is declared as static. In
another file it is extern int i=100;
Is this valid ?

Answer Posted / phani

No its invalid.A variable declared as static cannot be
changed though it is a global variable.

Is This Answer Correct ?    20 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between fread buffer() and fwrite buffer()?

1171


What do you mean by dynamic memory allocation in c?

1098


Explain how can I write functions that take a variable number of arguments?

1075


Give basis knowledge of web designing ...

2016


How can I send mail from within a c program?

1024


Can you explain what keyboard debouncing is, and where and why we us it? please give some examples

2192


What is a program?

1254


What is chain pointer in c?

1058


Can you pass an entire structure to functions?

1117


What is include directive in c?

1152


What is c language and why we use it?

1068


What is echo in c programming?

1018


Why is it usually a bad idea to use gets()? Suggest a workaround.

1779


What is union in c?

1115


What is a rvalue?

1201