exercise_6

Given the prototype of a function ListNode* process(Listnode* head) It is requered to implement the function that moves nodes of linked list with prime numbers to the beginning of the list. Arrays are not allowed to use.