Question: Write a function in C that takes a pointer-to-character (i.e., string), reverses it, and sets the pointer to the reversed string. Then, identify which variable
Write a function in C that takes a pointer-to-character (i.e., string), reverses it, and sets the pointer to the reversed string. Then, identify which variable in the function is allocated from which part of the address space.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
