Q. Which function returns the type of a variable as a string?

  • (A) gettype()
  • (B) typeof()
  • (C) var_type()
  • (D) type()
πŸ’¬ Discuss
βœ… Correct Answer: (A) gettype()
Explanation: gettype() returns the data type of a variable as a string.
Explanation by: Rati Dubey
gettype() returns the data type of a variable as a string.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
89
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Rati Dubey
Publisher
πŸ“ˆ
90%
Success Rate