C Programming Exercises
Looking to hone your C programming skills? Are you just learning to program and need to find area where you need to improve? Completing some C programming exercises is an awesome way to become a better programmer!
Doing some of these challenges can help you learn more about the C language, improve problem solving skills, and master new coding techniques.
Finding programming exercises can be difficult, so I created this guide to C programming exercises. Here is a growing list of places where you can brush up on your programming skills (and to learn new ones.)
Wikibooks C Exercises
If you're new to programming in C, Wikibooks has a page full of quizzes on a wide number of features on the C programming language.
The site starts out by quizzing you on their material and then moves on to questions that require the you to write a specific program. Each question contains a link to an answer so you can see whether or not you are correct.
You can visit their C Programming Beginning Exercises page to get started.
List Price: $24.99
USA Computing Olympiad Programming Contest
The USA Computing Olympiad Programming Contest site not only hosts a programming contest, but also offers a large amount of training. Whether or not you're interested in the contest, you can make use of their preparation material.
You will be required to register at the gateway before viewing the content. The site is language agnostic, so if the C programming language really isn't your thing (or you'd like to learn another language), you'll still be able to enjoy this resource.
Topcoder is one of the most popular sites offering programming challenges and exercises. While it's another competitive programming community, it's great for improving programming skills independently.
Project Euler is an incredibly popular site for those interested in programming puzzles.
This site allows users to submit answers to problems in a number of programming languages including C.
Word of warning: Project Euler is very mathy, so if math isn't your strong suit, you might want to look elsewhere.
UVa Online Judge
UVa Online Judge has hundreds of problems similar to those used in programming contests. You can do these exercises at your own leisure in a wide number of languages.
The site also runs contests from time to time for those interested in participating in coding competitions.
Sphere Online Judge (SPOJ)
SPOJ is essentially a large database of programming problems in various languages.
Here, you can select your preferred programming language and check out exercises to solve in that particular language. The above link will take you to their index of C programming exercises.
Exercises from "The C Programming Language"
The C Programming Language Exercises website maintains a list of exercises from the book, "The C Programming Language."
In order to view the exercises, navigate down to the area that says "solutions" and select a chapter. The next page will show each exercise as well as a link to its solution.
The article, "Programming Challenges" contains a list of more places you can find puzzles.
Some of the sites on the programming challenges list run contests and, if you do well on puzzles on one site, you could possibly land yourself a new job! That sounds like a pretty sweet deal to me!
Last updated on May 22, 2014
You can help the HubPages community highlight top quality content by ranking this article up or down.