String ToUpper

void StringQuestions::ToUpper(char* pInput)
{
	if (NULL == pInput || !(*pInput))
		return;
			
	for (int i =0; i < strlen(pInput); i++ )
	{
		if (pInput[i] >= 'a' && pInput[i] <= 'z')
		{
			pInput[i] = pInput[i] - 32;
		}			
	}
}