Instructor: James Riely
int x = 0;
var x:Int = 0
(define x 0)
x
mean in?
x = x + 1;
(set! x (+ x 1))
x = x + 1;
x
denotes
x
denotes
int x = 5;
int y = 6;
int *p = &x;
int *q = &y;
int **r = &p;
r = &q;
q = p;
**r = 7;
int x = 5;
int y = 6;
int *p = &(x + y); /* not allowed */
(x + y) = 7; /* not allowed */
(x + y)
not an l-value
arr[n + 2] = 7;
obj.f1 = 7
obj.m1 ().f1[n + 2].m2 ().f2 = 7