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

πŸ‘οΈ
80
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
96%
Success Rate