Posts by vitor • 3 points
1 post
-
0
votes1
answer95
viewsQ: How to print string struct in c?
When time print strings of a struct the program compiles and returns 0 but the values of the strings are not expected. Follow the code: #include <stdio.h> #include <stdlib.h> #include…