Question: Complete program in C ebug [*] Untitled1 1 #include 2 #include 3 char s[20]; 4 char first[20]; 5 char last[20]; 6 7 8 9 void

Complete program in C Complete program in C ebug [*] Untitled1 1 #include 2 #include 3

ebug [*] Untitled1 1 #include 2 #include 3 char s[20]; 4 char first[20]; 5 char last[20]; 6 7 8 9 void split(char "p, char *fi, char "la); 10 int main(void) 11 { 12 printf("ENTER a string with * in the middle "); 13 gets(s); 14 15 16 split(s, first, last); 18 19 20 21 //compare first and last : strcmp(first, last) 22 17 23 24 25 return; 26 } 27 28 29 30 void split(char "p, char *fi, char "la){ 31 int i=0; 32 while('p !) 33 fi[1] P[i]; 34 35 } 36 37 //put the rest of "s" into Last ---> "La 38 39 } 49 41 i++

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!