best answer > What does it mean to dereference a pointer 2024?- QuesHub | Better Than Quora
  • What does it mean to dereference a pointer 2024?

    指针 运算符 堆栈

    Questioner:Benjamin Wilson 2023-05-05 10:26:02
The most authoritative answer in 2024
  • Ava Patel——Studied at the University of Oxford, Lives in Oxford, UK.

    Dereferencing a pointer means getting the value that is stored in the memory location pointed by the pointer. The operator * is used to do this, and is called the dereferencing operator. int a = 10; int* ptr = &a; printf("%d", *ptr); // With *ptr I'm dereferencing the pointer.read more >>
    +119962023-05-05 10:26:02

About “指针、运算符、堆栈”,people ask:

READ MORE:

QuesHub is a place where questions meet answers, it is more authentic than Quora, but you still need to discern the answers provided by the respondents.

分享到

取消