I got some problems with 2 programs im working on : <p>i have been working on 2 programs:</p>

<pre><code>    void neg_zero(char* x)
{
    if (*x &lt; 0)
    {
        x = 0;
    }
}
</code></pre>

<p>this code above men't to check if a char that x point to is negative and if is negative the code will zero x.</p>

<p>second code: </p>

<pre><code>    void weirdFunc(int* a, int * b) {
    **if (a == b)**
    {
        **a = a + b;**
    }
    else
    {
        **b = a - b;**
    }
}
void main() {
    int a = 0, y=0;
    int* x = NULL;
    x = &amp;a;
    a = 6;
    y = 5;
    **weirdFunc(x, y);**
    **printf("%d \n%d \n", x, y);** 
}
</code></pre>

<p>this function receive two pointers to int and them like that:
if the two numbers equals it puts in the first parameter their combining.
if the two numbers are different it put in the second parameters their difference.</p>

<p>now the second function made in a very specific demand so if you can change only the marker'd parts (**).</p>

<p>Thank you all!    </p>
