C Program Doesn't Work Properly (Sets, Arrays, Loops)
<p>C Program Doesn't Work Properly (Sets, Arrays, Loops)</p>

<p>pls help</p>

<p>Output:</p>

<p>Complement of A to B: 0110010010, 
but is must be: 0100000010 </p>

<pre><code>printf("A \\ B: ");
for (int i = 0; i &lt; SizeOfU; i++)
{
    for (int j = 0; j &lt; SizeOfB; j++)
    {
        if ((U[i] == A[j]) &amp;&amp; (A[i] != B[j]))
        {
          i++;
          j = 0;
          printf("1");
        }
</code></pre>