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

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!