I have read quite a few tutorials that try and explain these but they just aren't making sense. Could someone try to explain what they are and why they should be used?

Compare

char array[100];
int myStrlen ( void );  // compute length of string in global array

With int myStrlen ( const char *array ); // compute length of string in parameter array

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.