I am trying to parse through an array for a char and delete everything after that. I did write the code to find the location of the char search in the array. How to delete the remaining part of the array after the identified location. Thank you
Share
You can use memset:
To set all bytes in
arraftercurrent_locationcontain0