Answer
See the answer below.
Work Step by Step
The principle of electroneutrality is the concept that each atom in a stable compound has an electric charge as close to zero as possible.
For $CO_2$ a ressonance structure would be $O\equiv C-O$, which would have the leftmost oxygen with a formal charge of +1 and the rightmost, -1, violating the principle.