Created
January 19, 2012 14:13
-
-
Save kenjiskywalker/1640209 to your computer and use it in GitHub Desktop.
study1
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() | |
{ | |
char str_a[20]; | |
str_a[0] = 'H'; | |
str_a[1] = 'e'; | |
str_a[2] = 'l'; | |
str_a[3] = 'l'; | |
str_a[4] = 'o'; | |
str_a[5] = ','; | |
str_a[6] = ' '; | |
str_a[7] = 'w'; | |
str_a[8] = 'o'; | |
str_a[9] = 'r'; | |
str_a[10] = 'l'; | |
str_a[11] = 'd'; | |
str_a[12] = '!'; | |
str_a[13] = '\n'; | |
str_a[14] = 0; | |
printf(str_a); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment