Dear Student,
when it comes learning programming and its languages it is difficult to predict as to how long it might take someone to learn and grasp it as it all depends on each individual and their learning power. Programming is a vast subject and covers various different topics, hence no time slot can be given to it as to how long it will take to learn it, some take a few days whereas some take years as there is always room of improvement. However if you are interested in learning programming you can do so by first learning C language as it is the easiest and is the basic foundation of programming.
You can use the help of textbooks, online videos or even taking online courses to learn programming. Also using hackerank will help you get more knowledge when it comes to programming.
Regular exam updates, QnA, Predictors, College Applications & E-books now on your Mobile