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

How do you determine if there are broken references in the project?

1020


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.

2652


What is the scope of user defined process variables ?

1173


What is the functionality of the retrieve resources resource?

1035


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

1035


If you have installed a particular version of tibco software e.g. Tibco bw x.y.z, what are x, y and z number stands for?

1066


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

1072


How do wait-notify resources work ?

1113


If Sender has sent the message on a queue.If the JMS Primary Server went down and secondary Server get the message which is lost. Where is the message now?

1601


What activities are supported in xa transaction ?

1071


What are the different modes of service invocation?

1071


What are the different modes of service invocation in tibco?

1207


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

1005


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

1197


If there are Senders who are sending messages on a queue. And these messages are not yet received by the consumers. They are still lying in the server. But before the consumers could receive the message the server went down. Since they are persistent messages, they are saved. But when secondary comes up how will the secondary server will get the message because it’s a different machine. How will it get the messages which are with the Primary server?

1639