The angle between the vectors \(\overrightarrow {A} = \hat{i} + \hat{j}\) and \(\overrightarrow {B} = \hat{i} + \hat{j} + c\hat {k}\) is 30o.Find the unknown \(c\) .