Question: Exercise 2 [Arrays and Strings] Write a function Split that takes as argument a C string (terminated with '0) that contains a single occurrence of
![Exercise 2 [Arrays and Strings] Write a function Split that takes](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f3c6f97ca32_21766f3c6f92e5e2.jpg)
Exercise 2 [Arrays and Strings] Write a function Split that takes as argument a C string (terminated with '\0) that contains a single occurrence of the '@ character. Your function should print the two substrings separated by ' on separate lines, using the "%s" format specifier for printf. (You may not print individual characters with putcha or%c) Here are two examples showing the function behavior: Function Call Split (place@here) Split dotthat Output place here do that void Split (char * s) /* Add your code here */
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
