카테고리 없음

아 난 정말 바보네

НooпeУ 2011. 12. 4. 20:45
value of ref랑 value of copy랑 아직도 해메고 있으니 쩝...

main()
{
LinkedList *list;
create(list);
insert(list, data); //성공? 실패?
}
실패...

0x024 | ???? // LinkedList list;
0x423 | ???? //create(list) 호출
0x423 | -> LinkedList 구조체를 가르키는 시작주소
0x024 | ???? //LinkedList는 계속 쓰레기값