C++ General Interview Questions
Questions Answers Views Company eMail

Describe friend function & its advantages.

TCS,

707

Explain Memory Allocation in C/C++ ?

Infosys,

629

Briefly describe a B+ tree. What is bulk loading in it?

Wipro,

791

How do we balance an AVL Tree in C++?

Impetus,

628

Write a C++ Program to check whether a number is prime number or not?

IBS,

625

what you know about c++?

IBS,

654

Difference between Abstraction and encapsulation in C++?

Impetus,

573

Implement stack operations with pointers with appropriate exception checks.

Huawei,

562

Write a function to find the nth item from the end of a linked list in a single pass.

Huawei,

563

Write a program to find the Fibonacci series recursively.

Huawei,

600

Write a program to find the reverse Fibonacci series starting from N.

Huawei,

600

What is command line arguments in C++? What are its uses? Where we have to use this?

HCL,

571

Which one is a preferred language C or C++? Why?

615

Write a code/algo to find the frequency of each element in an array?

Axtria,

599

Write is a binary search tree? Write an algo and tell complexity?

Axtria,

587


Post New C++ General Questions

Un-Answered Questions { C++ General }

What is the difference between multiple and multilevel inheritance in c++?

589


Can I create my own functions in c++?

592


Explain polymorphism?

579


What is a breakpoint?

555


What is c++ mutable?

696






What are advantages of using friend classes?

625


List the types of polymorphism in c++?

618


How do you find out if a linked-list has an end? (I.e. The list is not a cycle)

596


Explain queue. How it can be implemented?

667


What is difference between c++ 11 and c++ 14?

568


What do you mean by a template?

617


Is there finally in c++?

611


Is dev c++ a good compiler?

521


Show the declaration for a static function pointer.

572


What is setbase c++?

619