Arrange Doubly linked list in the ascending order of its integral value and replace integer 5 with 7?
3678There 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 5185There 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.
2512There 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.
2 10170A 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
3218Post New C++ General Questions
Write a program using shift_half( ) function to shift the elements of first half array to second half and vice versa.
Why was c++ made?
What is vectorial capacity?
what is COPY CONSTRUCTOR and what is it used for?
Do you know what are the new features that iso/ansi c++ has added to original c++ specifications?
How would you differentiate between a pre and post increment operators while overloading?
What are friend functions in C++?
Does improper inheritance have a potential to wreck a project?
What is the prototype of printf function?
What are static member functions?
What are the advantages of c++ over c?
Explain what you mean by a pointer.
Write about the retrieval of n number of objects during the process of delete[]p?
Which bitwise operator is used to check whether a particular bit is on or off?
What is the difference between cin.read() and cin.getline()?