Is any direct function is available for the complement of the char variable
get a C book, this is basic C