Question: Question 23 2 pts Suppose that you declare an array int arr_num[10] . Assuming the function declaration statement given below, what would you use to
Question 23 2 pts Suppose that you declare an array int arr_num[10] . Assuming the function declaration statement given below, what would you use to pass the array to the given function? int sum_arr(int arr.num[]) Sum_arrCarr_num) sum_arr(arr_num[@]) sum_arr("arr_num) sum arr(&arr num) Question 24 2 pts Assuming that "out_file" is an ofstream object, what is the correct way of opening a file "Employees.txt" for writing? out_file.open("Employees.txt"): out Employees.open(Employees.txt); out_file(Employees.txt): out_file("Employees.txt")
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
