Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void setup() {
- Serial.begin(9600);
- int firstvalue, secondvalue;
- int * mypointer;
- mypointer = &firstvalue;
- *mypointer = 10;
- mypointer = &secondvalue;
- *mypointer = 20;
- Serial.println(firstvalue);
- Serial.println(secondvalue);
- }
- void loop() {}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement