Croup and whooping cough are both respiratory infections that can start like a common cold before progressing. They can affect people of any age but they are more likely to occur in young children and are more serious for young children. Croup is a viral infection often caused by parainfluenza or influenza viruses.