28 lines
776 B
C
28 lines
776 B
C
|
|
#include <stdio.h>
|
|||
|
|
|
|||
|
|
int main()
|
|||
|
|
{
|
|||
|
|
char **Pc=(char**) malloc(110000*(sizeof(char*)));
|
|||
|
|
char a;
|
|||
|
|
int i;
|
|||
|
|
for (i=0;i < 11000 ; i++)
|
|||
|
|
{
|
|||
|
|
Pc[i]="Kuhl ist dodahl guddie ohne Kombromiesen ;-))\n";
|
|||
|
|
}
|
|||
|
|
for (i=0;i < 11;i++)
|
|||
|
|
printf("%s",Pc[i]);
|
|||
|
|
|
|||
|
|
printf("Die Gr<47><72>e eines char ist : %d\n",sizeof(char));
|
|||
|
|
printf("Die Gr<47><72>e eines char* ist : %d\n",sizeof(char*));
|
|||
|
|
printf("Die Gr<47><72>e eines char** ist: %d\n",sizeof(char**));
|
|||
|
|
printf("Die Gr<47><72>e eines int* ist : %d\n",sizeof(int*));
|
|||
|
|
printf("Die Gr<47><72>e eines int ist : %d\n",sizeof(int));
|
|||
|
|
printf("Die Gr<47><72>e eines short* ist: %d\n",sizeof(short*));
|
|||
|
|
printf("Die Gr<47><72>e eines short ist : %d\n",sizeof(short));
|
|||
|
|
printf("Die Gr<47><72>e eines long* ist : %d\n",sizeof(long*));
|
|||
|
|
printf("Die Gr<47><72>e eines long ist : %d\n",sizeof(long));
|
|||
|
|
a=getchar();
|
|||
|
|
|
|||
|
|
free(Pc);
|
|||
|
|
}
|