And what is better pc or laptop?
Desktop is half the price. So, if price is an issue for you, I would go with a desktop. Otherwise, a laptop allows you to continue programming while traveling or at school. Personally, I use a desktop for personal projects, and a laptop for work.
Should i need a core i7 or can i only work in core i5 device
i5 is cheaper. You really only need an i7 if you plan on working with large data sets or 3D graphics / video games.
2- Is there a connection between programmer and h4c|<7r? I mean the programing can be a h4c|<7r..
Programmers can leverage programming to automate a vulnerability. Thus programmers tend to be amongst the most powerful and efficient of hackers, not just as a black hat, but as a white / gray hat as well. You have the power to build.
3-what is the first steps to know more about programing?
Choose your first programming / scripting language. I recommend a JavaScript, HTML, PHP LAMP stack for your first web programming, or C# for your first desktop programming. If you want to start by making games, like I did, go with
https://phaser.io/learn (web / mobile) or
https://www.unrealengine.com/ (desktop)
4-how long time it will take to become a professional programer?
If you stick with it every day, you can gain a decent competence within 2 - 3 years, professional level with 5 - 10 years. However, you can start churning out some interesting scripts easily within just the first few months.