0
What is this "->" ? And what is function "malloc()" and "calloc()"? please explain to me this code.
5 Answers
+ 3
* About malloc, calloc, realloc, free (C dynamic memory related functions)
http://www.cplusplus.com/reference/cstdlib/malloc/
* About member access operator `->` refer this
https://en.cppreference.com/w/c/language/operator_member_access
+ 5
Dagbfatih, do you absolutely need to understand this code now?
You have just started the C tutorial, so everything you don't understand in this code will come up, and you'll understand it naturally.
+ 2
HonFu Thank you HonFu but I learned C language before
+ 1
Did the former answers do the trick for you?
+ 1
yes it helped thanks