[ create a new paste ] login | about

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

C, pasted on Nov 15:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include<stdio.h>
#include<string.h>
void ai( char *a);


main()
{
 char *a="fkuha";
ai(a);
puts(a);

}

void ai( char *a)
{
a="hlh";
}


Output:
1
2
3
fkuha

Exited: ExitFailure 6


Create a new paste based on this one


Comments: