Posts by Bernardo • 27 points
2 posts
-
0
votes1
answer32
viewsQ: How to create a function that deletes all spaces before and after the phrase starts in a string
My goal in this function is to have a void function that changes a string so as to cut all spaces before and after the sentence, for example: transform the string " I went shopping " in the string…
-
-1
votes1
answer64
viewsQ: How to invert a vector in C?
I created a function to reverse vectors however when I run the program I do not see anything. This is my code for now: #include<stdio.h> #define DIMV 30 int lerIntPositivo(){ int numero; do{…