I would like to ask a few basic questions :
1- When we first define a pointer , is it automatically NULL? I am asking this because if it was not NULL it would have to point somewhere , and this would mean another opened memory without our permission.I could try this by writing a small program , but I need an explanation which is detailed enough.
2-Why is calloc bad? Yes I have read. I could not figure out why would it be problem for us if calloc sets the pointer to 0 ( NULL ? YES ?)?
3-I still can not figure out the need for pointer when we write linked list or trees? ( The cruiosity may be because I have just started to read about data structres)
I would be glad if you mentioned my faults , show me someway. It would make me move faster.Thank you.