Q. Which function is used to get the type of a variable? (A) typeof() (B) gettype() (C) type() (D) get_type() ποΈ Show Answer π¬ Discuss π Share β‘Menu β Correct Answer: (B) gettype() Explanation: gettype() returns the data type of a variable.