Could anyone please show me howi can assign a char* pointer[2] to a char temp[2]? been looking around can i cant find any examples of this

Consider this:

char *pointers[2];
char array[2];
pointers[0] = &array[0];
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.