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

If the static variable is declared as global,
will it be same as extern?

Answer Posted / venkat

static :if i declare the static varible as global that
variable i can acces only with in the file (i.e i can't
access that variable from other file )


extern :if the varible i declared as extern than that extern
variable i can acces from other file also

Is This Answer Correct ?    29 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

void main(int n) { if(n==0) return; main(--n); printf("%d ",n); getch(); } how it work and what will be its output...............it any one know ans plz reply

2780


Explain what is the benefit of using an enum rather than a #define constant?

1219


c program to compute AREA under integral

2394


Explain how can you be sure that a program follows the ansi c standard?

1473


What is array of structure in c programming?

1289


Differentiate between the = symbol and == symbol?

1293


What is the deal on sprintf_s return value?

1129


You are to write your own versions of strcpy() and strlen (). Call them mystrcpy() and mystrlen(). Write them first as code within main(), not as functions, then, convert them to functions. You will pass two arrays to the function in the case of mystrcpy(), the source and target array.

2331


What are runtime error?

1128


Why header file is used in c?

1092


WHAT IS THE DEFINATION OF IN TECHNOLOGY AND OFF TECHNOLOGY ?

2377


What are the types of macro formats?

1115


What is the difference between typedef and #define?

1055


What is the role of && operator in a program code?

1068


What is c language in simple words?

1068