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 / ajeet singh

through the "public" key world, we define the globle variable.

Is This Answer Correct ?    1 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is malloc return c?

1034


What is the purpose of void pointer?

1044


Explain what are linked list?

1052


Why c is known as a mother language?

1090


Can the size of an array be declared at runtime?

1092


a program that performs some preliminary processing in C, it acts upon certain directives that will affect how the compiler does its work a) compiler b) loader c) directive d) preprocessor

1102


What is a list in c?

1040


A variable that is defined in a specified portion of a program but can be used throughout the program a) global variable b) local variable c) character d) none

1256


main() { printf("hello"); fork(); }

1207


How are portions of a program disabled in demo versions?

1301


Explain what is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?

1103


why to assign a pointer to null sometimes??how can a pointer we declare get assigned with a garbage value by default???

1981


What is the default value of local and global variables in c?

1052


What is the use of structure padding in c?

1080


What is a pragma?

1135