Which of the following is correct about the number of bonds formed by atoms of different elements in acetaldehyde?