char message[] = "Hello world";
char *message = "Hello world";
char *message;
message="Hello world";
are different. The first defines an array, the second and
third a pointer to a string, somewhere where the compiler puts
it.
Take care that you own the memory that you use
void qsort(void *base, size_t num_elements, size_t element_size,
int (*compare)(void const *, void const *));
char Name[12];
char *Offset;
strcpy(Name,"Sutcliffe");
Offset = &Name[4];
printf("%s\n",Offset);
int *i1; *i1 = 27;
int data[] = {8,7,6,5,4,3,2};
int *bean;
bean = &data[3];
printf("%d %d\n",bean[data[6]],&data[5]-bean);
char string[128]; char *name; strcpy(string,name); strcpy(name,"old stuff");