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

Does c++ support multilevel and multiple inheritances?

0 Answers  


what are prototypes

4 Answers   Infosys, TCS,


Implement strncpy

3 Answers  


List different attributes in C++?

0 Answers   Ericsson,


Can you be able to identify between straight- through and cross- over cable wiring? And in what case do you use straight- through and cross-over?

0 Answers  






What is anonymous object in c++?

0 Answers  


What is a v-table?

0 Answers  


Is it possible for the objects to read and write themselves?

0 Answers  


Is eclipse good for c++?

0 Answers  


What are the basics concepts of OOPS?

1 Answers  


How to write Multithreaded applications using C++?

2 Answers   Honeywell, TCS, Wipro,


Can we make copy constructor private in c++?

0 Answers  


Categories