Files
shifalearn/main.c
T
2026-08-04 07:35:53 +00:00

34 lines
526 B
C

#include <stdio.h>
#include "linkedlist.h"
int main()
{
insert(10);
insert(20);
insert(30);
printf("Linked List: ");
display();
Node *result = search(20);
if (result != NULL)
{
printf("\n the Element found: %d\n", result->data);
}
else
{
printf("\n the Element not found\n");
}
printf("Total nodes = %d\n", count());
printf("Count operation completes.\n");
printf("\nThis is Main Branch\n");
printf("\nThis is Feature Branch\n");
return 0;
}