64 630
Assignments Done
99,1%
Successfully Done
In September 2018

Answer to Question #60538 in C++ for shruti

Question #60538
if you want to store marks of the ten students in memory. what would you prefer array or structure? give reason
Expert's answer
If we need to store the evaluation of students in mind, the first thing we have to decide that we will keep. If it is just a set of estimates, it is necessary to use return an array, as this type of data is to store similar data. But if the addition should also be stored estimates and the names of students, their families, and so on, you need to use return structures as they we can define different types that are logically grouped together. And then an array can be formed of these structures. We most likely will store data about a student in the structures, since they allow to unite a variety of information about a student. An array of structures is the right solution for this problem.

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be first!

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions