+ 1
String code in C
1. Write a function to cancel all of the characters c in the string [s] with the same number of these sketches 2. Write the main function by which the string retrieves the character to call the function to cancel the character. please help because I do not understand this assignment. well thank you :)
9 Respuestas
+ 5
If I understand correctly, you want:
abcdefcgh
to become:
abdefgh
+ 2
for loop until entire string is looked at
if character isn't c
copy character to output string
increment to next output string position
+ 2
Updated with comments explaining what is happening. Questions or does it make sense?
+ 1
thank you 🙂
+ 1
i now underestand thanks for your time
0
yes
0
and how i do that in code 🙂
0
i underestand but how you do that with pointer and dynamic int or char? can you show me directly in code?