mercredi 7 octobre 2020

swapping of characters in memory using pointer

I have a char memory[1024]. I want to write the string "mike" into the memory starting from an index. I also need a function to move "mike" to another index in the same memory swapping m and k in mike. Basically, i need a function to write to memory and a function to move the string to an index. Thank you In c++ please.

Aucun commentaire:

Enregistrer un commentaire