C | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

C

hi I would like to write a program in c that taking as input a letter chosen by the user, this letter is exchanged with another one at random in my string. thanks to those who answered

8th Nov 2022, 9:18 AM
Elia Trotta
3 Answers
+ 2
Attempts?
8th Nov 2022, 9:27 AM
A͢J
A͢J - avatar
+ 2
Elia Trotta Learn about rand() method and char pointer to work with string in C
8th Nov 2022, 9:34 AM
A͢J
A͢J - avatar
0
I don't understand
8th Nov 2022, 9:29 AM
Elia Trotta