C++ General Interview Questions
Questions Answers Views Company eMail

Write a program in C++ for Fibonacci series

Axtria, ITC Indian Tobacco Company,

666

List different attributes in C++?

Ericsson,

646

What is jump statement in C++?

Ericsson,

619

Describe the syntax of single inheritance in C++?

Fidelity,

651

Name the operators that cannot be overloaded in C++?

Fidelity,

590

What are the various storage classes in C++?

Fidelity,

652

What is the use of 'this' pointer?

Fidelity,

776

What is an operator function? Describe the function of an operator function?

Fidelity,

621

Which one is better- macro or function?

Fidelity,

661

In a function declaration what does extern means?

Flextronics,

604

What happens if a pointer is deleted twice?

Flextronics,

796

What is the difference between a "copy constructor" and an "assignment operator" in C++?

Genpact,

625

How many different levels of pointers are there?

Genpact,

660

How would perform Pattern Matching in C++?

Genpact,

659

How would you call C functions from C++ and vice versa?

Genpact,

640


Post New C++ General Questions

Un-Answered Questions { C++ General }

What is doubly linked list in c++?

641


How can you quickly find the number of elements stored in a static array? Why is it difficult to store linked list in an array?

587


What does asterisk mean in c++?

589


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

671


Is c++ still being used?

569






What is this weird colon-member (" : ") syntax in the constructor?

547


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

643


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

682


What is c++ map?

573


What is virtual base class uses?

716


What is purpose of abstract class?

590


Is string data type in c++?

591


What is the full name of logo?

596


declare an array of structure where the members of the structure are integer variable float variable integer array char variable access all elements of the structure using dot operator and this pointer operator

1743


Differentiate between realloc() and free().

600