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 is global variables?

Answer Posted / keshini vyas

global variables are created by defining them outside of all the functions including the main in the program. The common practice is that all global variables are defined at the begining of the program code before any function. global variables can be accessed from any function including main function and other user defined functions.

example
int x,y; /* Global Variable*/
main()
{
int a,b;/*local variable*/
statement 1;
statement 2;
.
.
.
statement n;
}

Is This Answer Correct ?    11 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the scope of user defined process variables ?

1094


What is the difference between jms queue receiver and jms queue requestor?

962


Explain what is alias file in tibco?

1016


What is the purpose of a lock shared configuration resource?

934


What is custom id?

1074


Process engines in a fault tolerant group can be configured as peers or master secondary.how do these differ ?

1045


What are the different modes of service invocation in tibco?

1119


Hi i want to learn TIBCO. I am not good at programming.. Which module should i prefer to learn in tibco. i am having 2 years exp in another sector, now i m planning to change my career path. Please suggest me.

2591


Where does the tibco admin maintains the version history of the application? Please tell us the path?

937


What are the pretch predicates in tibco bw ?

2427


What are the different modes of service invocation?

1009


Explain the process configuration parameters - max jobs, flow limit & activation limit ?

1006


Give an example where graceful migration of service from one machine to another is not possible.

943


What are the options for configuring storage for process engine's checkpoint repository ?

1112


If secondary server finds out that the Primary is down and comes up.Where does it gets the messages from.

1409