I had a conceptual problem concerning stability of the following code. I would appreciate if someone could help me with it. I believe that the following code could be made more stable.

const int iNumCamera = 5;
const char *szCameraName[iNumCamera] = { "classic", "broadcast", "classic2", "classic3", "action" };

char *SelectCamera( int low, int high )
{
const char *s = NULL;
static char szCamera[100];
strcpy( szCamera, "First camera in range is " );
if( high > iNumCamera ) high = iNumCamera;
for( int i = low; i < high; i++ )
{
if( !s || strcmp(szCameraName [i],s) < 0 ) s = szCameraName [i];
}
strcat( szCamera, s ); return szCamera;
}


void DisplayCamera(int low, int high) {
print (“%s\n”, SelectCamera(low, high));
}

I would appreciate if one could help me with this one

cheers
pf