AND operations using C