Bifalgorithm post

Pointer. Let's say you saw six cats today. Let's create a variable called cat count and set it to six. Then, let's create a pointer that stores the address of cat count. Now the value of pointer p is hex 1000, which is the memory address of cat count. The value that p points to is six. If we change the value that p points to say to eight, then cat count will also become eight.

Pointer. Let's say you saw six cats today. Let's create a variable called cat count and set it to six. Then, let's create a pointer that stores the address of…

Ideas in this flowchart

  • Pointer Concept
  • Cat Count Variable
  • Pointer Creation
  • Pointer Value
  • Memory Address
  • Value Pointed by p
  • Change Value Pointed by p
  • Cat Count Updated
Feed/

Pointer. Let's say you saw six cats today. Let's create a variable called cat count and set it to six. Then, let's create a pointer that stores the address of cat count. Now the value of pointer p is hex 1000, which is the memory address of cat count. The value that p points to is six. If we change the value that p points to say to eight, then cat count will also become eight.

": Pointer. Let's say you saw six cats today"

👍
0
0 comments0 shares

Sign in to view and post comments.