[ create a new paste ] login | about

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

C, pasted on Dec 10:
1
2
3
4
5
6
7
8
9
10
11
12
main ()
{
char character = 'I';
char *text = "I";

if (character == 'I')
printf("OK, char gleich I\n");

if (*text == 'I')
printf("OK, Inhalt char pointer gleich I\n");
exit(0);
}


Output:
1
2
OK, char gleich I
OK, Inhalt char pointer gleich I


Create a new paste based on this one


Comments: