Anonymous
public c v1 · immutable#include <stdio.h>#include <string.h>#include <stdlib.h>int main(){ char **hejsan; char *oj; hejsan = malloc(sizeof(char*)*2); oj = malloc(100); memset(oj, '\0', 100); sprintf(oj, "tjohej"); hejsan[0] = oj; puts(hejsan[0]); return 0;}