administrators Reply Quote

Answer : Explanation : ptr pointer is constant. In ptr = yourbuf the program is trying to modify it, hence an error.

Click here to see the full blog post