What is the difference between global variables and local variable


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

Post New Answer

More C++ General Interview Questions

Differentiate between a copy constructor and an overloaded assignment operator.

0 Answers  


A company pays its salespeople on a commission basis. The salespeople receive $200 per week plus 9 percent of their gross sales for that week. For example, a saleperson who sells $5000 worth of merchandise in a week receives $200 plus 9 percent of $5000, or a total of $650. You have been supplied with a list of items sold by each salesperson. The values of these items are as follows: Item Value A 239.99 B 129.75 C 99.95 D 350.89 Write a program that inputs one salesperson's items sold in a week (how many of item A? of item B? etc.) and calculates and displays that salesperson's earnings for that week.

0 Answers  


write a program in c++ to implement stack using functions in header file stack.h

3 Answers   Google, Subex,


Is overriding possible in c++?

0 Answers  


Can we delete this pointer in c++?

0 Answers  


What is the operator in c++?

0 Answers  


What are the uses of typedef in a program?

0 Answers  


What is late binding c++?

0 Answers  


What is the use of setprecision in c++?

0 Answers  


How do you establish an is-a relationship?

0 Answers  


Do you know what are the new features that iso/ansi c++ has added to original c++ specifications?

0 Answers  


How is objective c different from c++?

0 Answers  


Categories