Given a linked list that contains the English alphabet. The characters may be in upper case or in lower case. Create two linked lists—one which stores upper case characters and the other that stores lower case characters.
Answers
Answered by
3
Answer:
Explanation:# include <stdio.h>
# include <stdlib.h>
struct node
{
char info[30];
struct node *next;
};
struct node *start;
void create()
{ char ch='y';
struct node *temp,*ptr;
while(ch!='n')
{
temp=(struct node *)malloc(sizeof(struct node));
printf("\n enter the node data: \n");
scanf("%s",&temp->info);
temp->next=NULL;
if(start==NULL)
{
start=temp;
Similar questions