Created
July 11, 2011 17:28
-
-
Save piscisaureus/1076333 to your computer and use it in GitHub Desktop.
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 <unistd.h> | |
int main() { | |
char text1[10] = "abcdefghi"; | |
char text2[10] = "123456789"; | |
write(1, text1, sizeof(text1)); | |
write(1, (char*) &text2, sizeof(text2)); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment