I am new programmer. Could some any explain me the difference between calloc() and malloc(). How to use these functions ?<br><br>Say I have the structures like these<br><br>typedef struct paths <br>{ <br> float flow;<br> struct paths *next;<br>} paths;<br><br>typedef struct k_paths<br>{<br> paths *p;<br> int n_arc;<br>} k_paths;<br><br>and I want to allocate memory for 8 k_paths and enter the data. What I have to do?<br><br>Thank<br>Haivan<br><br><br>