Ticker

6/recent/ticker-posts

Header Ads Widget

Responsive Advertisement

C program to perform difference operation on sets

Difference of Sets:- If there are two sets A and B, then the difference of two sets A and B is equal to the set which consists of elements present in A but not in B. It is represented by A-B.
Example:- If A = {1,2,3,4,5,6,7} and B = {6,7} are two sets. Then, the difference of set A and set B is given by; A – B = {1,2,3,4,5}



When the above program is executed, it produces following results --



Post a Comment

0 Comments