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
How do you determine if there are broken references in the project?
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.
What is the scope of user defined process variables ?
What is the functionality of the retrieve resources resource?
What are the possible error output's of read file activity?
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?
Explain the process configuration parameters - max jobs, flow limit & activation limit ?
How do wait-notify resources work ?
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?
What activities are supported in xa transaction ?
What are the different modes of service invocation?
What are the different modes of service invocation in tibco?
What are the tibco bw activities that can participate in transactions?
What are the options for configuring storage for process engine's checkpoint repository ?
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?