Hey @Ali, when we look at software computer engineers, they deal with the programming part rather than the computer/laptop specs or design and hardware computer engineers deal more with the hardware aspect like the computer parts and the chips etc.
pros of being a software engineer:
High pay, in-door work, flexible shift timings, higher growth.
Cons of being a software engineer:
should know many programming languages and work with many different platforms, should love coding, spending hours in front of a computer screen.
Now, when we talk about Hardware computer engineers, they deal more with the hardware part of the computers on which these programmes run.
I have mentioned the pros and cons in a previous post, have a look at it - https://www.edureka.co/community/34559/what-are-the-pros-and-cons-working-computer-hardware-engineer?show=34561#a34561
The final decision is yours and the one best suited for you relies on your interests. One simple tip, if you like coding, go for the software engineer profile, if you like dealing with hardware, go for the hardware engineer profile.