For the successful operation of Heat engine which condition should be met ?

For the successful operation of Heat engine which condition should be met ?

A. cyclic process
B. operated at certain temperature difference
C. both A and B
D. none of these