Q. Which of the following C++ operators is used to dereference a pointer?

  • (A) *
  • (B) &
  • (C) ->
  • (D) ::
πŸ’¬ Discuss
βœ… Correct Answer: (A) *
Explanation: The '*' operator is used to dereference a pointer, meaning to access the value at the address it points to.
Explanation by: Praveen Singh
The '*' operator is used to dereference a pointer, meaning to access the value at the address it points to.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
124
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Praveen Singh
Publisher
πŸ“ˆ
86%
Success Rate