Answered step by step
Verified Expert Solution
Question
1 Approved Answer
write assembly function to take an array of integers and find out average. int average(int* arr, int size); int main(int argc, char** args) {
write assembly function to take an array of integers and find out average. int average(int* arr, int size); int main(int argc, char** args) { int nums[10] = {12, 45, 23, 14, 15, 17, 36, 38, 33, 23 }; int ans - average(nums, 10); printf(" average is: %d ", ans); return 0; }
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Answer section text global average average Inputs edi pointer to the array of integers ...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started