how can you figure out the size allocated for a array, how much can safely be put in it?
i mean i do something like
char temp[255];
strcpy(temp, "test");
printf("Array temp is %i chars long", strlen(temp));
gives 4, but its really 255(well, 254), how can i get 255?
testing for a seg fault just seems horible.