LinkedList/C/linkedList.c
//Function to neatly display the list
Function to neatly display the list
Function to neatly display the list
void disp(){
	printf("\n======================================================\n");
	struct node* ptr = head;
	while (ptr != NULL){
		printf("%d ", ptr -> data);
		ptr = ptr -> link;
	}
	printf("\n======================================================\n");
}
void disp ( ) { printf ( " \n \n " ) ; struct node * ptr = head ; while ( ptr != NULL ) { printf ( " " , ptr -> data ) ; ptr = ptr -> link ; } printf ( " \n \n " ) ; }
Function to neatly display the list
Function to neatly display the list