πŸ“Š Python
Q. Which built-in function can be used to get the memory address of an object?
  • (A) id()
  • (B) address()
  • (C) mem()
  • (D) pointer()
πŸ’¬ Discuss
βœ… Correct Answer: (A) id()

Explanation: `id()` returns the unique identifier (memory address) of an object.

Explanation by: Mr. Dubey
`id()` returns the unique identifier (memory address) of an object.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
61
Total Visits
πŸ“½οΈ
8 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
89%
Success Rate