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
What do you mean by late binding?
What is a string example?
Can I have a reference as a data member of a class? If yes, then how do I initialise it?
Is c++ built on c?
What does override mean in c++?
Define a conversion constructor?
When we use Abstract Class and when we use Interface?where we will implement in real time?
Which is better turbo c++ or dev c++?
What is ifstream c++?
What are the benefits of c++?
What is oop in c++?
Can I create my own functions in c++?
What's the order in which the objects in an array are destructed?
What is the advantage of c++ over c?
Explain how functions are classified in C++ ?