Posts by Guilherme Ioshua Belmont • 19 points
2 posts
-
-1
votes1
answer1522
viewsQ: How to invert a character array in C?
I have to invert a vector, example: ola = Alo. #include<stdio.h> #include<string.h> #include<bits/stdc++.h> int main() { char c[5]; scanf("%s" ,c); for(int i=5; i>=-1;i--)…
-
2
votes2
answers88
viewsQ: incrementation table test
I didn’t understand at all and I’ve been trying for hours to understand these two functions. Why do these results come out? I’ve done dozens of table tests and no hits. #include <stdio.h> int…
casked Guilherme Ioshua Belmont 19