Arrange Doubly linked list in the ascending order of its integral value and replace integer 5 with 7?
4120There 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 6027There 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.
3012There 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 11323A 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
3675Post New C++ General Questions
Which one is better- macro or function?
What is a class template?
Define a pdb file.
Does c++ support exception handling?
How do you flush a buffer in c++?
What is a virtual destructor? Explain the use of it?
What are references in c++?
What is the difference between mutex and binary semaphore?
Evaluate !(1&&1||1&&0) a) Error b) False c) True
What is c++ hiding?
What are the benefits of c++?
What are built-in functions? What is the syntax for the definition?
What is one dimensional array in c++?
What is basic if statement syntax?
What do you mean by friend class & friend function in c++?