There are many ways to learn programming languages. The most common and right way to learn any programming language is to setup a compiler and start practicing as many programs as you can. Getting hands-on experience is very important other than learning programming concepts.

In this page, you will find links to example pages of many programming languages. Each page contains many example program which you can practice from.

You can find the example programs listed below.

Once you have mastered the examples. You can try to solve some programming problems from a book or write your own programs. Be creative and try different things. Your ability to solve problems will improve a lot.