Posts by Allan Lobo • 1 point
1 post
-
-2
votes2
answers452
viewsQ: String comparison in C
How could I print the variable sex outside the if-else (has to be outside of it). This code is printing blank and I can’t understand why. #include <stdio.h> #include <stdlib.h> #include…