It's easy enough to test, put in in an l-value context and see what happens.
1 2 3 4 5 6 7 8 9 10 11 12 13
$ cat foo.cpp
#include <iostream>
usingnamespace std;
int main ( ) {
int num = 10;
&num = 20;
}
$ g++ foo.cpp
foo.cpp: In function ‘int main()’:
foo.cpp:6:8: error: lvalue required as left operand of assignment
&num = 20;
^