Now I know engines take years to make , am just interested in the concept of how do u make and engine and what do u use in making one ??
I am in my 2nd year of CS and so far can't relate how programmers make game engines ??
Use OpenGl 4 or DirectX 11. There are plenty of tutorials out there which you can view.
You might want to read it to understand how a Game Engine is built.