C examples for Function:Utility Function
converts an upper case letter into a lower case letter, and leaves lower case letter unchanged:
int lower(int ch) { if (ch >= 'A' && ch <= 'Z') return ch + 'a' - 'A'; else return ch; }