Created linked list will be 56 -> 61 -> 57 -> 11 -> 12 -> 2
head = push ( head , 2 ) ; head = push ( head , 12 ) ; head = push ( head , 11 ) ; head = push ( head , 57 ) ; head = push ( head , 61 ) ; head = push ( head , 56 ) ; document . write ( " " ) ; head = deleteoddNodes ( head ) ; printList ( head ) ;