hi,
i've a doubt. Comparators require +ve and -ve power supplies to work. If a ckt has only positive power supply and if i connect the negative power supply pin of comparator to ground of ckt., will it work properly?
Look at the Input Voltage Range spec on the datasheet. If your input voltage is 1V or more above GND, you can connect the V- pin to GND. If your input range is lower than +1V, you will need a negative supply for V-.
The high limit on the input range is dependent on V+, also specified in the datasheet. You will need a pullup resistor from the output to some positive voltage less than +36V.