What is the precedence when there is a global variable and a local variable in the program with the same name?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C++ General Interview Questions

What are stacks? Give an example where they are useful.

0 Answers  


Can static member variables be private?

0 Answers  


If a header file is included twice by mistake in the program, will it give any error?

0 Answers  


Write my own zero-argument manipulator that should work same as hex?

0 Answers  


What can c++ be used for?

0 Answers  






What is the basic concept of c++?

0 Answers  


What is runtime polymorphism in c++?

0 Answers  


what is the diff b/n c and c++ a. dynamic scoping b. nested switching c. declaration of variables in any code block d. separation of compilation and linking

2 Answers   Hughes,


Explain how would you handle a situation where you cannot call the destructor of a local explicitly?

0 Answers  


Why do we learn c++?

0 Answers  


What is vector string in c++?

0 Answers  


Types of storage and scope of each type

2 Answers   CA,


Categories