If C does not support passing a variable by reference, why does this work?
#include void f(int *j) { (*j)++; } int main() { int i = 20;
No pass-by-reference in C, but p "refers" to i, and you pass p by value.