Electronics is a branch where you work totally on Hardware and Electronics stuff. You get to play with voltages, current, and stuff like that. Whereas, in Computer Engineering you get to code in various programming languages.
At the end both fields go hand in hand. But which one to choose is up to you. It depends on what are you interested in – To code or built electronic stuff.