Question: C) Implement a generic swap procedure in C that takes any fundamental data type (int, float, short, string) as arguments. Your swap) prototype should look

C) Implement a generic swap procedure in C that takes any fundamental data type (int, float, short, string) as arguments. Your swap) prototype should look like: void swap (void *vpl, void * vp2, int size) In particular, write C code to show how you would use it to swap two strings, explaining how you would call the swap procedure and illustrating what is happening in memory (14 marks)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
