CPP program to find triplet with maximum bitwise AND .
#include " cmath " NEW_LINE #include " cstring " NEW_LINE #include " iostream " NEW_LINE using namespace std ; int maxTriplet ( int a [ ] , int n ) {