I try to point my_next
pointer to an integer value like below:
int my_function(int x) {
return x+1;
}
int *my_next = &my_function(5);
but got the following error:
error: cannot take the address of an rvalue of type 'int'
Any idea what I did wrong and how to fix it? Thanks!