C++ General Interview Questions
Questions Answers Views Company eMail

Explain how the virtual base class is different from the conventional base classes of the opps.

664

What are the syntactic rules to be avoid ambiguity in multiple inheritance?

619

Define basic type of variable used for a different condition in C++?

650

What is the C-style character string?

591

what are the types of Member Functions?

599

what are the decision making statements in C++? Explain if statement with an example?

643

what is pre-processor in C++?

581

what is Member Functions in Classes?

604

Explain how functions are classified in C++ ?

790

what is C++ exceptional handling?

616

what is COPY CONSTRUCTOR and what is it used for?

606

what is upcasting in C++?

705

what is data encapsulation in C++?

592

what is C++ objects?

656

what are Operators and explain with an example?

691


Post New C++ General Questions

Un-Answered Questions { C++ General }

Explain what is polymorphism in c++?

618


What is c++ programming language?

561


What is vector pair in c++?

697


What is operator overloading in c++ example?

639


Which of the following is not a valid declaration for main() a) int main() b) int main(int argc, char *argv[]) c) They both work

591






Is atoi safe?

580


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.

3396


Which sort is best for the set: 1 2 3 5 4 a) Quick Sort b) Bubble Sort c) Merge Sort

649


Give example of a pure virtual function in c++?

574


What is an undefined behavior and sequence points

555


How is c++ used in the real world?

562


What is lazy initialization in c++?

641


What's the best free c++ profiler for windows?

607


What are destructors?

563


What is c++ map?

553