1. If p is a pointer variable: &p means the address of variable p;
*p means the value of the address pointed to by variable p;
*p+1 means adding 1 to the value pointed to by p;
*(p+1) means First move the pointer to the right by one bit and then take the value of the pointed variable.
When adding and subtracting arithmetic operations on the pointer, the number 1 represents the length of a storage unit.
2.
3. C language takes function as the basic unit of the program.
4.strcat () string concatenation function, strcpy () string copy function
strcat(p1+2,p2+1); //returns the string headed by p1+2, namely "cdBCD"
strcpy(str+2, strcat(p1+2,p2+1)); //Copy "cdBCD" to the position of str+2, and overwrite the following content, at this time str is "xycdBCD"
5.
6. The function fseek relocates the file position to the specified position in the file.
7.
8. The file is opened using the w method, which means that the original file will be cleared and then rewritten