diff --git a/4_SL.C b/4_SL.C index 7f56fd9..fa24f98 100644 --- a/4_SL.C +++ b/4_SL.C @@ -64,7 +64,7 @@ void main(){ new->data=x; ptr->link=new; break; - case 4: printf("\nEnter key: "); + case 4: printf("\nEnter key: "); //search scanf("%d",&key); ptr = header; while(ptr->data!= key && ptr->link!=NULL){ @@ -145,4 +145,4 @@ void main(){ } // ENDWHILE getch(); -} \ No newline at end of file +} diff --git a/LINEARSE.C b/LINEARSE.C index b19e2e4..4e81f24 100644 --- a/LINEARSE.C +++ b/LINEARSE.C @@ -18,7 +18,7 @@ void main(){ printf("\nEnter element to be searched: "); scanf("%d",&key); - for(i=0;i