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 6018. 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?
3324Arrange Doubly linked list in the ascending order of its integral value and replace integer 5 with 7?
4180There 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 6115There 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.
3069There 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 11433A 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
3718
Carry out conversion of one object of user-defined type to another?
Write a Program for read a line from file from location N1 to N2 using command line arguments. Eg:exe 10 20 a.c
program explaining feautures of c++
Write a single instruction that will store an EVEN random integer between 54 and 212 inclusive in the variable myran. (NOTE only generate EVEN random numbers)
What is the difference between *p++ and (*p)++ ?
What are c++ tokens?
Write some differences between an external iterator and an internal iterator? Describe the advantage of an external iterator.
Define basic type of variable used for a different condition in C++?
What do the header files usually contains?
Explain the difference between static and dynamic binding of functions?
What type of loop is a for loop?
What is the output of the following program? Why?
What is the problem with multiple inheritance?
Would you rather wait for quicksort, linear search, or bubble sort on a 200000 element array? (Or go to lunch...) a) Quicksort b) Linear Search c) Bubble Sort
What is a template in c++?