Why it does not work?"It printf" value 0.Code:int main() { int *f; set(f); printf("%d",*f); return 0; } void set(int *f) { int d=11; f=&d; }
d is deleted at the end of function?(I still have lower concerns on dynamic allocation).
I need to create an ordered binary tree.