Follow Our FB Page << >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...

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

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

Answer / 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

More Manual Testing Interview Questions

what is the difference between application server and web server?

8 Answers   Symphony,

Black box Testing

5 Answers   Confidential,

Data flow testing is a control structure testing technique where the criteria used to design test cases is that they Option 1 Rely on basis path testing Option 2 Exercise the logical conditions in a program module Option 3 Select test paths based on the locations and uses of variables Option 4 Focus on testing the validity of loop constructs

1 Answers  

What is the main use of preparing a traceability matrix?

0 Answers  

Write notes on apparel testing equipments.

0 Answers   Mahatma Gandhi University,

how to reduce bugs in e-learning projects? for reducing bugs which type of SDLC we have to use

0 Answers   eMantras,

What is actually a rule based testing

0 Answers   ISPL,

what is the difference between test plan and test strategy?

2 Answers  

explain v model in detail(pls explain with real tme company process)

2 Answers   Virtusa,

after inserting the record in front-end,how will u check the backend manually?

1 Answers  

difference between smoke testing & sanity testing?

6 Answers   TenXLabs,

What is the Role of Bug Tracking System

3 Answers   Atlantic Scientific, Deloitte,