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 are the options for configuring storage for process engine's checkpoint repository ?

1188


What is a spawn in call process?

1052


What is the purpose of the inspector activity ?

1041


What are the tibco bw activities that can participate in transactions?

1001


Why we implement the tibco in our organization or company?

987


Which are the two process variables available to all activities with inputs ?

1217


Which mechanism can be used to pass data between a process instance and a called sub process other than mapping from/to the callee's input/output ?

1100


What are the encodings supported by designer ?

1098


What is the functionality of the retrieve resources resource?

1030


If there are two sub processes then how can we call at a time one sub process dynamically by using call process?

1085


What activities are supported in xa transaction ?

1069


Explain what is alias file in tibco?

1069


What activities are supported in jta transaction?

1005


What are the possible error output's of read file activity?

1027


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

995