When there is a global variable and local variable with the same name, how will you access the global variable?


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

Post New Answer

More C++ General Interview Questions

What is the difference between public, private, protected inheritance?

12 Answers   Wipro,


Do you know what is overriding?

0 Answers  


Write a program to concatenate two strings.

0 Answers  


Write a C program to calculate the salary of each employee in your company. You need to input the hours worked and the hourly rate. The company pays 1.5 times the hourly rate for all hours worked in excess of 48 hours. Use the formulas below to calculate the salary: if employee worked less than 48 hours salary = hours * rate; if employee worked more than 48 hours salary = 48.0 * rate + ( hours − 48.0 ) * rate * 1.5; You are required to use a loop to produce the sample output as given below.

1 Answers  


What does the linker do?

0 Answers  


What is an overflow error?

0 Answers  


Have you used MSVC? What do you think of it?

2 Answers   Google,


What is vectorial capacity?

0 Answers  


Check for Balanced Parentheses using Stack?

1 Answers  


How to construct muliton object

2 Answers   Symphony, TCS,


What is name mangling?

3 Answers  


Under what conditions is multiple inheritance not recommended?

1 Answers  


Categories