The Supreme Court on Friday ruled that children born out of "void or voidable" marriages can claim a right in…