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

8. What would entice you to return?

0 Answers  


hi i am kavita. i have completed software testing course.i am electronics background.my testing as question is why choose in software testing as a career.plz send me this answer and help me.

3 Answers   LinguaNext,


I have to write test cases for Create User, Edit User, Delete User etc. Some of the steps for Create & Edit User are same. Then Should I write refer Create User [test case Id] for common test steps to write Edit User Test case? OR I have to write separate test steps even though they are repeatable in Create user & Edit User test case.

3 Answers   Emphasis,


How you manage your test case (already written )when requirments changes?

3 Answers   TCS,


What's an 'inspection'?

4 Answers   IBM,






What are the RBI rules has to follow by a bank for online precesseing. ?

0 Answers   HCL,


what is system testing? explian with scenarios..

1 Answers  


What is red box testing and yellow box testing?

10 Answers   IUGO, T systems,


what is the difference between the severity and priority and tell me high severity and low priority ,low severity and high priority ,high severity and high priority ,low severity and low priority

3 Answers   L&T, Polaris,


Can anybody give me some tips on how to face telephonic interview and Write some expected telephonic questions as a 2+yr exp. in testing. Try to give Ques. that u already hv faced in telephone. Plz Help me out friends.

2 Answers   Satyam,


how can we connect database in manual testing? pls answer for this

2 Answers   IBM, Logica CMG,


what is difference b/t severity and priority

4 Answers   Tech Mahindra, Value Labs,


Categories