Copy unsigned char array
-
12-10-2019 - |
Question
What would be the best way to copy unsigned char array to another?
For example:
unsigned char q[1000];
unsigned char p[1000];
strcpy (q,&p);
The above code does not work, it gives me error saying "cannot convert parameter 1 from unsigned char [1000] to char *".
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow