[ create a new paste ] login | about

Link: http://codepad.org/eBm3sB8K    [ 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
hlh

Exited: ExitFailure 4


Create a new paste based on this one


Comments: