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

Explain the differences between private, public and protected and give examples.

0 Answers  


Write a corrected statement in c++ so that the statement will work properly. if (x = y) x = 2*z;

2 Answers  


Describe public access specifiers?

0 Answers  


What is the difference between Class and Structure?

40 Answers   HP, IBM, Samsung, TCS,


What is a smart pointer?

1 Answers  






What is the advantage of an external iterator.

0 Answers  


What is a class template in c++?

0 Answers  


how can u create a doubly linked list with out using pointers?

2 Answers  


What is a dangling pointer?

3 Answers   Glenwood,


Explain what is polymorphism in c++?

0 Answers  


Can we have "Virtual Constructors"?

10 Answers   TCS,


How do you test your code?

4 Answers   Microsoft,


Categories