What I want exactly is to allocate tab and fill it with some numbers.
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
void prepare_internship(int** tab) {
*tab = malloc(5 * sizeof(int));
*(*tab+0) = 1;
}
int main() {
int** tab;
prepare_internship(tab);
printf("%d", *(tab));
return 0;
}