Posts by João Vitor Dutra • 163 points
3 posts
-
0
votes2
answers359
viewsA: Initialize a function that has a string pointer as argument
I was able to improve the logic of the code and make it work. #include <stdio.h> #include <stdlib.h> /* 14) Implemente um algoritmo que receba uma string como parâmetro e substitua todas…
-
0
votes2
answers359
viewsQ: Initialize a function that has a string pointer as argument
I wrote a function that changes the letter of a string by its successor using a pointer of string. #include <stdio.h> #include <stdlib.h> /* 14) Implemente um algoritmo que receba uma…
-
6
votes3
answers417
viewsQ: Counter of a subsequence of repeated strings in C
Consider a string composed of several subsequences. for example: cccaaaabbbbxdddddddaaannn. The smallest subsequence is the letter x, with only one element; the largest subsequence is the letter d,…