Question: What are the issues with making the array on the stack in the function above? 6. Concept of Structs: Create a struct that represents a


What are the issues with making the array on the stack in the function above? 6. Concept of Structs: Create a struct that represents a textbook. Explain why you typed your variables the way you did as well as the advantages and limitations (if any) of using this struct in a program that allows users to search for books, check out and return them. 7. Create a dynamic jagged 2-d array of vehicle structs that holds an array of vehicles for different people. You will read the number of people and number of vehicles for each person from the user. Hint: Think about why you need a pointer for the num_vehicles. \#include iostream using namespace std; int main() \{ int num_people, *num_vehicles; struct vehicle **v; cout \& "How many people?"; cin num_people; \} 8. Describe what each line of the makefile does and answer the following questions. (1). How could you use the variables in other places in the makefile? (2). What happens if you put the clean target at the top above the first target to make the executable? (3). What happens if you define your .o targets before your executable target? (4). What happens if you do not use tabs to indent
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
