C++ General Interview Questions
Questions Answers Views Company eMail

What are the four partitions in which c++ compiler divides the ram?

687

Explain binary search.

561

You want to link a c++ program to c functions. How would you do it?

524

Define a nested class. Explain how it can be useful.

621

What are c++ storage classes?

606

Differentiate between late binding and early binding.

625

Incase of a function declaration, what is extern means?

507

Differentiate between realloc() and free().

582

Explain shallow copy?

606

Explain deep copy and a shallow copy?

595

What is type of 'this' pointer? Explain when it is get created?

578

What are the storage qualifiers?

655

Explain linear search.

615

How should runtime errors be handled in c++?

597

Explain virtual class and friend class.

583


Post New C++ General Questions

Un-Answered Questions { C++ General }

What are signs of manipulation?

575


What is one dimensional array in c++?

568


Can a built-in function be recursive?

572


How to implement is-a and has-a class relationships?

571


What are static and dynamic type checking?

597






What language is a dll written in?

531


When can I use a forward declaration?

611


Program to check whether a word is a sub-string or not of a string typed

1582


What does the following code do: int c=0; cout< a) Undefined *Updated* b) 01 c) 00

626


Is there any difference between int [] a and int a [] in c++?

539


Reads in the size of a square from the screen; 2. Prints a hollow square of that size out of “-“, “|” and blanks on screen; 3. Prints the same hollow square onto a text file. Your program should work for squares of all side sizes between 1 and 20. --- │ │ │ │ │ │ ---

1629


Which ide is best for c++?

529


What is istream c++?

558


What is istream and ostream in c++?

578


Explain rethrowing exceptions with an example?

596