Content
@
0 reply
0 recast
0 reaction
Anton
@antohin
🔥 Take this! 🔥 Do you remember when we talk about the addresses of variables? This concept is very important, because whole of technical devices uses it! Lets describe this on picture with maximally precision! Is not this beautiful? ☺️
1 reply
4 recasts
20 reactions
Anton
@antohin
This code helps you to understand pic! #include <stdio.h> int main() { float A; // our variable float* ptr; // variable that can be save address of any other variable A = 5; // set value ptr = &A; // get address of variable A and save it into variable ptr printf("Address of A is %p \n", ptr); printf("Variable A is %f \n", *ptr); // dereference ptr ("open" variable ptr) return 0; }
0 reply
0 recast
0 reaction