helo, i wanna ask a basic question in my C program below
error msg:
[warning]initialization makes integer from pointer without a cast
Code:
#include<stdio.h>
unsigned m,n;
unsigned a[100];
unsigned b[100];
c=a; m>=n; //error in this line, why??
for (int i=0; i<n; i++){
c[i]=c[i]^b[i]
}
return c;
[warning]initialization makes integer from pointer without a cast
Comment