Posts by Pedro Lucas Paulino • 34 points
2 posts
-
-1
votes2
answers48
viewsA: Question in reading and printing names with char
Good evening, friend. As you say there are better ways to do this reading, but as you opted for a specific one I will help. #include <stdio.h> #include <stdlib.h> void main(){ char…
-
2
votes1
answer48
viewsA: My C code compiles but is not executed
The problem is that you declared the vector without a preset value. First you should read the value of the variable "qtdDelements" and then declare the vector. Follow the example (I put the 'for'…