Exercise 1 [15 points]
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 putchar or "%c".). You need to show your work in a C file, and compile and run it using gcc
commands. Show your code and screenshot of how the code ran. Note: If not using gcc, you can also use
online compiler to complete this task.
Here are two examples showing the function behavior:
Function Call
Output
Split ("place@here");
place
here
Split("do@that");
do
that
void Split(char * s)
{
/* Add your code here */