Syntax: cmp(a, b) Parameters: a and b are the two numbers in which the comparison is being done. Returns: -1 if a<b 0 if a=b 1 if a>b