#include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> int main(int argc, char* argv[]) { int id = fork(); if (id != 0) { fork(); } printf("Hello world\n"); return 0; }
Pointers, double pointers, pointer arithmetics, dereferencing, everything in a short and compact guide that you can reference anytime!