C++ General Interview Questions
Questions Answers Views Company eMail

what is Loop function? What are different types of Loops?

630

what are the characteristics of Class Members in C++?

582

What is namespace std; and what is consists of?

652

what is multi-threading in C++?

600

When one must use recursion function? Mention what happens when recursion functions are declared inline?

637

what is data abstraction in C++?

635

How can you specify a class in C++?

788

what is the use of void main() in C++ language?

630

what are Access specifiers in C++ class? What are the types?

618

what is a reference variable in C++?

647

Explain about templates of C++.

668

What is different in C++, compare with unix?

594

I was a c++ code and was asked to find out the bug in that. The bug was that he declared an object locally in a function and tried to return the pointer to that object. Since the object is local to the function, it no more exists after returning from the function. The pointer, therefore, is invalid outside.

597

Discussion on error handling of C++ .

631

What are the unique features of C++.

560


Post New C++ General Questions

Un-Answered Questions { C++ General }

Does c++ cost money?

569


Which programming language should I learn first?

569


What you know about structures in C++?

582


What is the difference between an external iterator and an internal iterator?

601


What do you mean by translation unit in c++?

660






program explaining feautures of c++

1908


When can I use a forward declaration?

611


What is a constant reference?

609


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.

3398


Define pre-condition and post-condition to a member function in c++?

650


Which ide is best for c++?

533


What is encapsulation in C++? Give an example.

580


What is runtime polymorphism in c++?

577


How come you find out if a linked-list is a cycle or not?

563


How we can differentiate between a pre and post increment operators during overloading?

583