C++ Placement Question

C++ Interview Question and Answers Part 3

C++ Interview Question and Answers Part 3 Here you can find the most frequently asked C++ Interview Question asked in interviews of reputed multinational IT companies with Answers (part 3). 1. When should you use multiple inheritance? There are three acceptable answers: “Never,” “Rarely,” and “When the problem domain cannot be accurately modeled any other way.” …

C++ Interview Question and Answers Part 3 Read More »

C++ Interview Question and Answers Part 2

C++ Interview Question and Answers Part 2 Here you can find the most frequently asked C++ Interview Question asked in interviews of reputed IT companies with Answers (part 2). 1. How do you write a function that can reverse a linked-list? Answer: void reverselist(void) { if(head==0) return; if(head->next==0) return; if(head->next==tail) { head->next = 0; tail->next …

C++ Interview Question and Answers Part 2 Read More »