0

What is this "->" ? And what is function "malloc()" and "calloc()"? please explain to me this code.

https://code.sololearn.com/cVqQhMS4S131/?ref=app

26th Jan 2020, 1:22 PM
Dagbfatih
Dagbfatih - avatar
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
26th Jan 2020, 1:42 PM
Ipang
+ 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.
26th Jan 2020, 1:36 PM
HonFu
HonFu - avatar
+ 2
HonFu Thank you HonFu but I learned C language before
26th Jan 2020, 4:16 PM
Dagbfatih
Dagbfatih - avatar
+ 1
Did the former answers do the trick for you?
26th Jan 2020, 4:24 PM
HonFu
HonFu - avatar
+ 1
yes it helped thanks
26th Jan 2020, 4:30 PM
Dagbfatih
Dagbfatih - avatar