ok in math we have unions and intersections. if i have set A={1,2,3} and set B={2,3,4} and i want to find the interection, the elements of set A that are also in set B. is there any way i can check for this? like some special function, basically the question is how is intersection defined in the C language? or am I the one that has to define it?