[comp.lang.c] Can I pass an operator to a function or ... ?

chen-dahe@CS.Yale.EDU (Dahe Chen) (02/10/90)

I have a function in which only one if statment is different: one uses
< and the other uses <=. I wonder if I can pass the operators to the
function and how. Or are there other ways to do it?

Thanks in advance.
Dahe Chen
internet:   dchen@twolf.ce.yale.edu
	    chen-dahe@cs.yale.edu
bitnet:	    dchen@yalevms