STL (140)
OOPS (873)
C++ General (2409) Write a C++ program to sort digits of all the 4 digit number and display the sorted 4 digit number
1 5935. If employee B is the boss of A and C is the boss of B and D is the boss of C and E is the boss of D. Then write a program using the Database such that if an employee name is Asked to Display it also display his bosses with his name. For eg. If C is displayed it should also display D and E with C?
3280Arrange Doubly linked list in the ascending order of its integral value and replace integer 5 with 7?
4119There 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 6025There 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.
3007There 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 11310A 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
3673
Why namespace is used in c++?
What can I safely assume about the initial values of variables which are not explicitly initialized?
What is the importance of mutable keyword?
What are shallow and deep copy?
What is the difference between object-oriented programming and procedural programming?
How many characters are recognized by ANSI C++?
Can we specify variable field width in a scanf() format string? If possible how?
What are the important components of cohesion?
How does stack look in function calls? Write a recursive function call, how will the stack look like?
If dog is a friend of boy, is boy a friend of dog?
List different attributes in C++?
What is polymorphism & list its types in c++?
What is std namespace in c++?
What do you mean by stack unwinding in c++?
Give an example of run-time polymorphism/virtual functions.