How many types of scopes are there in c++?



How many types of scopes are there in c++?..

Answer / Muneesh Kumar

There are four types of scopes in C++: block scope, file scope, namespace scope, and function scope.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C++ General Interview Questions

What is the word you will use when defining a function in base class to allow this function to be a polimorphic function?

1 Answers  


What is the size of pointer ? Also size of pointer in 64 bit pointer

4 Answers  


In a function declaration, what does extern mean?

1 Answers  


How would you stop a class from class from being derived or inherited?The constructer should not be Private,as object instantiation should be allowed.

15 Answers   Satyam,


What header file is needed for exit(); a) stdlib.h b) conio.h c) dos.h

1 Answers  


Explain about vectors in c ++?

1 Answers  


Is c++ platform dependent?

1 Answers  


What is the function of I/O library in C++ ?

1 Answers   HCL,


Is java made in c++?

1 Answers  


Define the operators that can be used with a pointer.

1 Answers  


Explain abstraction.

1 Answers  


What is a rooted hierarchy?

1 Answers  


Categories