Which of the following function convert a single character to its integer value in python?
A - unichr(x)
B - ord(x)
C - hex(x)
D - oct(x)