Ds 14
Ds 14
int main(){
char a[20], b[20];
printf("Enter the two numbers: ");
scanf("%s %s", a, b);
printf("nexted List representation of first number: \n");
struct node *head1 = (struct node *)malloc(sizeof(struct node));
head1->data = 0;
head1->next = NULL;
head1 = createLL(head1, a);
print(head1);
Sample Output
Result
The program was executed and the output verified.