Question 1: (1 pt) Consider the following array: int[5] p = {1, 2, 3, 4, 5}; How many bytes in memory would be needed to store this array? Question 3: (2 pts) Consider you have the following integer array: int[5] array = {5, 4, 3, 2, 1}; Write a program that shifts the content of the array to the right, i.e. thearray would become array = {1, 5, 4, 3, 2}; Question 4: (1 pt) If a function takes as argument a 2 dimensional array of integers, what isthe function prototype (give an example). Question 5: (1 pt)
Question 1 (1 pt) Consider the following array int[5] p =
Tags:Homework Help