Which of the following concurrency control protocols ensure both conflict serialzability and freedom from deadlock?
I. 2-phase locking
II. Time-stamp ordering
a)I only
b)II only
c)Both I and II
d)Neither I nor II