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
What are the options for configuring storage for process engine's checkpoint repository ?
What is a spawn in call process?
What is the purpose of the inspector activity ?
What are the tibco bw activities that can participate in transactions?
Why we implement the tibco in our organization or company?
Which are the two process variables available to all activities with inputs ?
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 ?
What are the encodings supported by designer ?
What is the functionality of the retrieve resources resource?
If there are two sub processes then how can we call at a time one sub process dynamically by using call process?
What activities are supported in xa transaction ?
Explain what is alias file in tibco?
What activities are supported in jta transaction?
What are the possible error output's of read file activity?
Give an example where graceful migration of service from one machine to another is not possible.