I'm looking through some code for learning purposes. I'm working through this portion of code.
// e.g. const unsigned char data={0x1,0x7C ... }
unsigned char buf[40];
memset(buf,0,40);
buf[0] = 0x52;
memcpy(buf+1, data, length); // What does buf+1 do in this situation?
On the last line where memcpy is called what does buf+1 do? buf is a character array, so what does +1 do to it?