================== Possible solutions [TOC] ================== Modify a variable indirectly ============================ :import: session08/pointers2.c ---- SHELL(path=session08,hostname=heim) --------------------------------------- gcc -Wall -std=c11 -o pointers2 pointers2.c ./pointers2 -------------------------------------------------------------------------------- Note that you get a different output on thales: ---- SHELL(path=session08) ----------------------------------------------------- gcc -Wall -std=c11 -o pointers2 pointers2.c ./pointers2 -------------------------------------------------------------------------------- Example: Call by reference ========================== :import: session08/pointers4.c ---- SHELL(path=session08,hostname=heim) --------------------------------------- gcc -Wall -std=c11 -o pointers4 pointers4.c ./pointers4 --------------------------------------------------------------------------------