#include <stdio.h>

char** text;

int main(void) {
	int numElements = 20000, i;
    // Allocate an array of char pointers
    text = malloc(numElements * sizeof( char *)); 
    
    for( i = 0; i < numElements; i++) {
        // 4 for the length of the string "test", plus one additional for \0 (NULL byte)
        text[i] = malloc( (4 + 1) * sizeof( char));
        memcpy( text[i], "test\0", 5);
    }
    printf("%s\n", text[0]);
    printf("%s\n", text[1]);
    return 0;
}