C language checks whether a character is an operator

www.lau‮c.irutt‬om
C language checks whether a character is an operator
char c = '_';

if (c == '+' || c == '-' || c == '*' || c == '/' ) {
	// operator
}
Created Time:2017-08-28 09:31:17  Author:lautturi