I am currently trying to use strcat on two unsigned char but I keep getting a warning. Here is what I have for strcat:
unsigned char A[100],B[100];
A[0] = '1';
B[0] = '2';
strcat(A,B);
I am trying to put them togther so that I get A as the combination of both of them. Any suggestions?
A[1] = B[1] = '\0';
then it will work.strcat
assumes a few things. Also make sure to cast the arguments. – Mohit Jain