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
How new/delete differs from malloc()/free?
Is swift a good first language?
Explain the concept of copy constructor?
Write about the various sections of the executable image?
What is function prototyping?
What c++ library is string in?
What programming language should I learn first?
What is static in c++?
What are default parameters? How are they evaluated in c++ function?
What are the 2 main types of data structures?
What is insertion sorting?
Is multimap sorted c++?
Why is c++ not purely object oriented?
How do I exit turbo c++?
What are references in c++?