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
Write bites in Turbo c++ Header ("Include") Files.
How can virtual functions in c++ be implemented?
What is pure virtual function? Or what is abstract class?
What are the differences between new and malloc?
What are multiple inheritances (virtual inheritance)?
If a function doesn’t return a value, how do you declare the function?
What apps are written in c++?
What is the difference between an array and a list?
What is an adjust field format flag?
What is the use of seekg in c++?
Why we use #include conio h in c++?
Differentiate between an external iterator and an internal iterator?
Explain linear search.
What is set in c++?
Is map sorted c++?