C++ General Interview Questions
Questions Answers Views Company eMail

Arrange Doubly linked list in the ascending order of its integral value and replace integer 5 with 7?

3678

There is a magic square matrix in such a way that sum of a column or a row are same like 3 5 2 4 3 3 3 2 5 sum of each column and row is 10. you have to check that matrix is magic matrix or not?

TCS,

1 5185

Implement a 2 dimensional array by one dimentional array

CTS,

1 3943

make a middle node of doubly linklist to the top of the list

1 3397

There are 100 students in a class. The management keep information in two tables. Those two tables are given like Roll no Name Age 001 ABC 15 002 XYZ 14 and Roll No Subject Marks 001 Math 75 001 Physics 55 002 Math 68 001 Hindi 69 They want the information like this Roll No Name Hindi Physics Math Total 001 ABC 69 55 75 199 002 XYZ 68 74 84 226 And Roll No Suject Highest 001 Math 98 007 Physics 84 021 Hindi 74 All 275 All information is kept in structure in main memory. You have to find last two tables.

2512

There is a array of 99 cells and we have to enter 1-100 elements in it , no two elements would repeat , so the is one no. missing because 99 cells and 1-100 nos. so we had to implement a function to find that missing no.

Nagarro,

2 10170

A mXn matrix is given and rows and column are sorted as shown below.Write a function that search a desired entered no in the matrix .with minimum complexity 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16

3218

How to detect memory leaks in c++

Mphasis,

1 4352

What is expression parser in c++

Mphasis,

1861

i want the NIC programmer-B model papaer pattren, iwant the all model papers?

NIC,

15 13874

char *ch = "abcde"; char c[4]; how to copy 'ch' to 'c'?

Thomson Reuters,

4 8559

Difference between Constructors and static constructors?

IBM, TCS,

3 6903

what is the emaning of '#include" "'?

5 6233

what is scupper?

1866

What are the popular tools used to detect memory leaks in c++

TATA,

4 5912


Post New C++ General Questions

Un-Answered Questions { C++ General }

Write a program using shift_half( ) function to shift the elements of first half array to second half and vice versa.

760


Why was c++ made?

628


What is vectorial capacity?

617


what is COPY CONSTRUCTOR and what is it used for?

595


Do you know what are the new features that iso/ansi c++ has added to original c++ specifications?

536






How would you differentiate between a pre and post increment operators while overloading?

627


What are friend functions in C++?

601


Does improper inheritance have a potential to wreck a project?

604


What is the prototype of printf function?

611


What are static member functions?

597


What are the advantages of c++ over c?

556


Explain what you mean by a pointer.

601


Write about the retrieval of n number of objects during the process of delete[]p?

547


Which bitwise operator is used to check whether a particular bit is on or off?

568


What is the difference between cin.read() and cin.getline()?

541