Question: Write a C function that is given a pointer to memory, the number of bytes of memory the pointer points at, and two pointers to
Write a C function that is given a pointer to memory, the number of bytes of memory the pointer points at, and two pointers to uint32_t. Your job is to treat the pointer as if it were a pointer to an array of uint32_t, find the min and max values of the array, and write the results to the locations pointed at by the uint32_t pointers.
The number of bytes will be a positive multiple of 4. Do not worry about endianess in this problem.
Note the tester has command line options -Wall -Wextra -Werror -fsanitize=address to help you catch errors.

Exit Full Screen code.c + New 1 #include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
