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
Where do the default global variables declared in designer are stored in tibco administrator?
What is a spawn in call process?
What is the purpose of a lock shared configuration resource?
What are the different modes of service invocation in tibco?
What are the options for configuring storage for process engine's checkpoint repository ?
Explain Client and EXplicit Client dupsOK Acknowledge modes in jms?
When is a 'generate error' activity useful?
How do wait-notify resources work ?
What is vcrepo.dat?
Where does the tibco admin maintains the version history of the application?
What are the different types of transactions tibco provides?
What is import and include in schema in tibco bw?
What are the possible error output's of read file activity?
What is the difference between jms queue receiver and jms queue requestor?
Explain what is alias file in tibco?