You will be given two linked lists, each of whose nodes is represented by the following structure:-
struct Node
{
int data;
struct Node* next;
You are given a function,
struct Node* AddTwoNumbers (struct Node* listi, struct Node* list2);
The function takes two pointers 'listi' and 'list2', each of them pointing to the start of a linked list. Both the lists represent two non-negative
numbers. Each of their nodes contains a single digit. Implement the function to add the two numbers and return it as a linked list.
Answers
Answered by
0
Explanation:
clin invest in a few minutes to get the latest flash player is required
Answered by
3
Explanation:
The function takes two pointers list1' and list2, each of them pointing to the start of a linked list. Both the lists represent two non-negative numbers. Each of their nodes contains a single digit. Implement the function to add the two numbers and return it as a linked list.
Similar questions