C++ Interview Questions
Questions Answers Views Company eMail

Check for Balanced Parentheses using Stack?

1 859

What is an Object/Instance?

1 877

What do you mean by C++ access specifiers ?

1 858

What are the basics concepts of OOPS?

1 842

What is the use of volatile keyword in c++? Give an example.

1 817

In how many ways we can initialize an int variable in C++?

1 1008

What are C++ inline functions?

1 872

What do you mean by internal linking and external linking in c++?

1 1093

How many storage classes are available in C++?

1 972

What is 'Copy Constructor' and when it is called?

1 905

What is realloc() and free()? What is difference between them?

1 858

What is difference between shallow copy and deep copy? Which is default?

1 827

What are virtual functions and what is its use?

1 875

What do you mean by pure virtual functions in C++? Give an example?

1 996

How to create a pure virtual function?

1 1165


Un-Answered Questions { C++ }

What are 2 ways of exporting a function from a dll?

879


What do you mean by const correctness?

840


What is c++ hiding?

890


What is rvalue?

913


What is the renewal class?

2419


What do you mean by inheritance in c++?

830


#include #include #include #include void insert(char *items, int count); int main(void) { char s[255]; printf("Enter a string:"); gets(s); insert(s, strlen(s)); printf("The sorted string is: %s.\n", s); getch(); return 0; } void insert(char *items, int count) { register int a, b; char t; for(a=1; a < count; ++a) { t = items[a]; for(b=a-1; (b >= 0) && (t < items[b]); b--) items[b+1] = items[b]; items[b+1] = t; } } design an algorithm for Insertion Sort

2379


what is the sylabus for priliminaries?

1916


What are the effects after calling the delete this operator ?

816


What are the types of container classes?

828


What are the five basic elements of a c++ program?

852


What is isdigit c++?

864


How many ways can a variable be initialized into in C++?

802


What are the various access specifiers in c++?

803


What is the difference between a baller and a reference in C++?

812