what is the diff b/w local and global variable?

Answer Posted / riya jain

The differnce b/w local and the global variables is in the
scope in which they are used. like in c++ the variables
that are declared in main() are global and the variables
that are declared within the class are subject only to that
class and thus termed as local variables.

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why performance testing is performed? What are tools of performance testing?

969


What is the main use of preparing traceability matrix and explain the real time usage?

978


What are the standard you follow in your company to prepare test plan document? Content is same in every standard or not. Also is there any document to read about the testing standards? Thanks in advance for giving me the answer.

1808


Define Stability, Scalability and reliability with example ?

2968


how will the test plan is pepared in ur organisation>?

1753


Can you explain function points?

905


Test approach to windows scheduler?

1875


What is the typical situation u faced while collecting the test data?

1932


tell me some major and minor defects in ur net banking project?

3397


What can you tell about the project if during testing you found 80 bugs in it

2028


wat is test management ?what are the components available in test management?

1852


How does quality control differ from quality assurance?

838


What are different types of verifications?

1000


. Is any graph is used for code coverage analysis?

2340


In Quality Center, If we can reuse a non reusable test script as template test, then what is the need of defining reusable test scripts? What additional functionality does Reusable test scripts add when compared to non reusable test scripts?

2773