-
-
Save mingyc/2156592 to your computer and use it in GitHub Desktop.
A buggy program that won't work on Windows but work on Un*x-like system
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
int main() | |
{ | |
int i; | |
char strings[4][8]; | |
for (i = 3; i >= 0; i--) | |
scanf("%s", strings[i]); | |
for (i = 0; i < 4; i++) | |
printf("%s\n", strings[i]); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment