Question: . Write a C program for an embedded application (using a dead/forever loop) which determines the maximum valued number in an array of numbers. Declare

. Write a C program for an embedded application (using a dead/forever loop) which determines the maximum valued number in an array of numbers. Declare a global array with 10 elements of integer type, name it max ValueArray, and initialize the array to following values: -1, 5, 3, 8, -10, 23, 6, 5, 2, 10. Declare a global integer type variable "arraySize" and initialize it to 10. Implement the functionality within the main) function. Once the task of determining the maximum number is completed, the main) should stay in a forever loop
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
