Hi, @Todd Chester
const void *src
You need to split it into two parts
- Pointer to Constant
The address of pointers can be changed, but the value of the variable that the pointer points cannot be changed.
E.g. const int* ptr
;
2 .void pointer
A void* pointer can be converted into any other type of data pointer.
Best regards,
Minxin Yu
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.