assignment makes integer from pointer without a cast c[a0][4]="YES"; i cant get it what is wrong int it integer t is already decleared : <p>warning: assignment makes integer from pointer without a cast
             c[a0][4]="YES"; i cant get it what is wrong int it integer t is already decleared   </p>

<pre><code>char c[t][4];
for(int a0 = 0; a0 &lt; t; a0++)
{
    int n; 
    int k; 
    scanf("%d %d",&amp;n,&amp;k);
    int a[n];
    for(int a_i = 0; a_i &lt; n; a_i++)
    {
       scanf("%d",&amp;a[a_i]);
       if(a[a_i]&lt;=0)
       {
           count++;
       }

    }
    if(count&gt;=k)
     c[a0][4]="NO";
    else
        c[a0][4]="YES";
    count=0;

}
for(int p=0;p&lt;t;p++)
    printf("%c \n",c[p][4]);
</code></pre>
