Question: Using C Exercise 2 In main, create an int array of size 5 and initialize to the value 0. Ask the user to enter two
Using C

Exercise 2 In main, create an int array of size 5 and initialize to the value 0. Ask the user to enter two numbers and assign the numbers entered to the first and the last elements of the array. Your method should work for any array size not just for a 5-element array Note: Make use of sizeof operator to find out the number of elements in an array
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
