Files
clearn/stringtest1.cc
2017-02-07 20:03:49 +00:00

22 lines
242 B
C++

#include <stdlib.h>
#include <iostream.h>
void main()
{
char** text=(char**) malloc(10*sizeof(char(*)));
int i;
text[0]="Null";
text[1]="Eins";
text[2]="Zwei";
text[3]="Drei";
for (i=0;i<6;i++)
{
cout << text[i] << endl;
}
free(text);
}