some issue with string in C : <p>i'm reading the C programming language, question 2-4 asks to write a function called squeeze to delete all char in s1 which is in s2, so i write the code, but it can't run at all.</p>

<p>here is my code</p>

<pre><code>#include &lt;stdio.h&gt;

void squeeze(char s1[], char s2[]);

int main()
{
    squeeze("tabcdge", "abc");
}

void squeeze(char s1[], char s2[])
{
    int i, j, k;

    for (i = k = 0; s1[i] != '\0'; i++) {
        for (j = 0; s2[j] != '\0' &amp;&amp; s2[j] != s1[i]; j++)
            ;
        if (s2[j] == '\0')
            s1[k++] = s1[i];
    }
    s1[k] = '\0';
    for (i = 0; s1[i] != '\0'; i++)
        printf("%c", s1[i]);
}
</code></pre>
