What is the difference between function overloading and operator overloading?
No Answer is Posted For this Question
Be the First to Post Answer
Describe private, protected and public?
What is the best way to declare and define global variables?
In a class, there is a reference or pointer of an object of another class embedded, and the memory is either allocated or assigned to the new object created for this class. In the constructor, parameters are passed to initialize the data members and the embedded object reference to get inialized. What measures or design change should be advised for proper destruction and avioding memory leaks, getting pointers dangling for the embedded object memory allocation? Please suggest.
What are manipulators used for?
Why do we use iterators?
What do you mean by const correctness?
Can circle be called an ellipse?
what does the following statement mean? int (*a)[4]
Why the usage of pointers in C++ is not recommended ?
What is difference between n and endl in c++?
Write a program to reverse a linked list?
8 Answers Catalytic Software, Satyam,
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.