dudemeister88
2009-11-08 04:32:24 UTC
int main(void){
int size;
char *para;
size = sizeof(char);
para = (char*)malloc(4*size);
para[0] = 'a';
para[1] = 'b';
para[2] = 'c';
para[3] = 'd';
printf("\npara[0] = %s\n",para[0]);
return EXIT_SUCCESS;
}
Anyway, I know this is basic but I am overseeing the solution. At least it means some easy points for someone by answering it :D. Thanks in advance to those who help.