Posts by Leonardo • 3 points
1 post
-
0
votes2
answers1917
viewsQ: How to Show all elements of an array declared in a C struct?
In that code: #include <stdio.h> #include <stdlib.h> struct cadastro { char nome[50]; int idade; char rua[50]; int numero; }; int main() { struct cadastro c[4]; //Array[4] de estruturas…