electrical engineering and it's not even close.
EE learn and use a lot more calculus, algebra, and probability theory,.
CS majors learn a lot of abstractions, but EE actually understand what got abstracted away.
it's easy to turn an EE into a software dev, but it's hard to turn a CS into a hardware developer and some stuff is just way out of their depth, because it takes months to years of study to grasp signal processing, electromagnetic fields, optoelectronics, IC's, VLSI + microfab, hardware circuit design, etc.
so ironically EE majors wind up knowing more about computers than """computer science"""".
i'd say the only exception is if you plan specifically to go into research for deep theory in algorithms for cryptography, quantum, graphics, compilers.. and even then as an EE you can easily catch up.
tldr go EE, CS is essentially a subfield of EE