Events2Join
How to get sum of products of all combinations in an array in c ?

How to get sum of products of all combinations in an array in c ?