1.

What is the result of cmp(3, 1)?(a) 1(b) 0(c) True(d) False

Answer» Correct option is (a) 1

Best explanation: cmp(x, y) returns 1 if x > y, 0 if x == y and -1 if x < y.


Discussion

No Comment Found