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's the best way to declare and define global variables?

Answer Posted / vignesh1988i

as for C is concerned the best way to declare and define the
global variable is brefore the main() function

Is This Answer Correct ?    10 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between malloc() and calloc() function in c language?

1079


What are the different types of constants?

1075


explain how do you use macro?

1156


How would you use the functions fseek(), freed(), fwrite() and ftell()?

1164


Which is best book for data structures in c?

1093


Write a program with dynamically allocation of variable.

1126


What is string constants?

1148


What is difference between class and structure?

1114


What does c mean in basketball?

996


Explain the advantages of using macro in c language?

999


If a variable is a pointer to a structure, then which operator is used to access data members of the structure through the pointer variable?

1257


what is a constant pointer in C

1165


What are the different types of control structures?

1043


How to implement a packet in C

2885


Differentiate between declaring a variable and defining a variable?

1039