Posts by Pacheco LpG • 11 points
2 posts
-
0
votes2
answers40
viewsA: How to pass the value of a variable char to another char in C
I got it from the FOR you mentioned, I just had to change one thing and it was like this for(int j = 0; j <= strlen(data[i].name); j++){ salva_nameMaior[j] = data[i]. name[j]; } Thank you.…
-
0
votes2
answers40
viewsQ: How to pass the value of a variable char to another char in C
My doubt is how I successfully pass the text from one char variable to another also char? I’m trying the following: salva_nomeMaior[30] = dados[i].nome; The variable that is with the text that is…