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.


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C++ General Interview Questions

What is virtual methods?

0 Answers  


What is a "RTTI"?

6 Answers   HCL,


what is the C++

1 Answers   Wipro,


Why is it difficult to store linked list in an array?

6 Answers   Infosys, Lucent,


What is the use of c++ programming language in real life?

0 Answers  






What are shallow and deep copies?

0 Answers  


. 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?

0 Answers  


What is static function? Explain with an example

0 Answers  


If dog is a friend of boy, is boy a friend of dog?

0 Answers  


What is the most common mistake on c++ and oo projects?

0 Answers  


What is tellg () in c++?

0 Answers  


What are the different types of Storage classes?

5 Answers  


Categories