[ create a new paste ] login | about

Link: http://codepad.org/vfkoWmI2    [ raw code | output | fork ]

C, pasted on Oct 10:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include <stdio.h>

int main(){

char str[14];

str[0] = 'a';
str[1] = 'd';
str[2] = 'x';
str[4] = '\0';


printf("score[1] = %s;\n", str);


return 0;
}


Output:
1
score[1] = adx;


Create a new paste based on this one


Comments: