Question: #include struct Student { std: :string name = /lQ2. Define the following function. Enter the names of the dynamic array of Stduent objects. You may

\#include struct Student \{ std: :string name =" /lQ2. Define the following function. Enter the names of the dynamic array of Stduent objects. You may use std: cin void createRoster(int classsize, Student * roster); l/Test code int main(){ const int SIZE =3; Student roster = nullptr; /lQ1. Create a dynamic array of Student objects with SIZE and assign it to "roster" createRoster(SIZE, roster); //function call int i=; while (i SIZE) std: : cout
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
