Answer Posted / aboelella
Variable scope is the places in code where this variable can
be accessed
Varaible can be defined to be global (visible in the program
include scope)
Variable can be local if defined in the scope of parantesis
(inside function or in compound statement)
In classes variables scope depends on the way it is defined
(privat, public or protected)
| Is This Answer Correct ? | 21 Yes | 0 No |
Post New Answer View All Answers
Which is the best c++ compiler?
Which software is used to run c++ program?
What is searching? Explain linear and binary search.
Is c++ a good first language to learn?
Write a function that swaps the values of two integers, using int* as the argument type?
What is prototype for that c string function?
What is the full form nasa?
What is an iterator class in c++?
What is encapsulation in C++? Give an example.
What do you mean by stack unwinding in c++?
What number of digits that can be accuratly stored in a float (based on the IEEE Standard 754)? a) 6 b) 38 c) An unlimited number
What are c++ variables?
What is class definition in c++ ?
What is the use of data hiding?
What are the advantages of using const reference arguments in a function?