Anonymous
The difference between latch and flip flop is as follows:
Latches are edge triggered and whenever there is any change in input, output also changes.
Whereas, in flip flop even though input changes , it will be checked only at the active edge of the clock. Flip flops are made up of latches.