Write
in
your
words
(in points)
how
a
new
node
can
get
a
memory
allocations?
Answers
Answered by
2
a node at the beginning of the linked list
Allocate the memory in heap for the new node using the calling of malloc(). ...
After getting the memory successfully stored the data in the data field as per the requirement. ...
For the linking, assign the address of the first node to the next pointer of the created new node.
Answered by
2
this is the answer ..............
follow me
Attachments:
Similar questions
English,
2 months ago
Physics,
5 months ago
Math,
5 months ago
CBSE BOARD XII,
10 months ago
History,
10 months ago