Problem:
Question 1: Write an efficient C++ program to find the sum of contiguous subarray within a vector of numbers which has the largest sum.
Function Definition
int maxSum(vector a)
Show the code, demonstrate it works properly and describe what it is doing.
Question 2: C Programming: Modular Design and Function What is a function? State the advantages in using a function.
Question 3: What is the difference between system defined and user defined functions?
Please Explain don't just write the answer.