I recommend Advent of Code and Project Euler for programming challenges. Both have a backlog of puzzles, with an increasing difficulty curve, that cover a wide range of programming concepts. Project Euler is more focused on the mathematical side, though. Answer from TiagoPaolini on reddit.com
๐ŸŒ
GeeksforGeeks
geeksforgeeks.org โ€บ c language โ€บ c-programming-examples
C Programs - C Programming Examples - GeeksforGeeks
July 23, 2025 - To learn anything effectively, practicing and solving problems is essential. To help you master C programming, we have compiled over 100 C programming examples across various categories, including basic C programs, Fibonacci series, strings, arrays, base conversions, pattern printing, pointers, and more.
Discussions

Exercises to practice C programming?
I recommend Advent of Code and Project Euler for programming challenges. Both have a backlog of puzzles, with an increasing difficulty curve, that cover a wide range of programming concepts. Project Euler is more focused on the mathematical side, though. More on reddit.com
๐ŸŒ r/C_Programming
17
34
January 31, 2023
How to practice C
What was this "advanced stuff"? Pointers? File Descriptor? Structures and Unions? Malloc? Building on that, we may can push you in the right direction. In general I would recommened: Grab a good Tutorial book/website. I may recommened this or this one . Many others are out there, some better, some worse. Get familiar with the non-syntax content of C: What enviroments exist? What is a preprocessor doing? What is a compiler doing? What the heck is C95 and C11 and are there important differences? Look beyond the horizon (if you haven't mastered step 1 and 2, do it first before doing this): Knowing syntax is like knowing the ABC. You know the basics of a language, but combining stuff together creates a word and combining words a sentence (and hopefully the sentence make sense). Keyword is: Software Architecture. And a normal recommendation: Practice. It doesn't matter if you grab a microcontroller and make funny smaller projects or creating an Commandline Calculator (classic one, I know...) and get further. Practice, learning/creating algorithmes and more practice. That is the key one. More on reddit.com
๐ŸŒ r/C_Programming
12
36
March 3, 2022
Where can I learn C with hands-on practice?
In your bedroom. Working on small personal projects such as an image viewer, a game or a program launcher. Someone might chime in with a more exciting answer ;) More on reddit.com
๐ŸŒ r/C_Programming
33
76
February 7, 2022
Absolute best way to learn C as a complete coding beginner?
A book and a lot and lot of practice. More on reddit.com
๐ŸŒ r/C_Programming
40
31
August 1, 2024
๐ŸŒ
Programiz
programiz.com โ€บ c-programming โ€บ examples
C Examples | Programiz
The best way to learn C programming is by practicing examples. The page contains examples on basic concepts of C programming. You are advised to take the references from these examples and try them on your own. All the programs on this page are tested and should work on all platforms. Want to learn C Programming by writing code yourself? Enroll in our Interactive C Course for ...
๐ŸŒ
CodeChef
codechef.com โ€บ practice โ€บ c
Practice C
Improve your C programming skills with over 200 coding practice problems. Solve these beginner friendly problems online to get better at C language.
๐ŸŒ
W3Schools
w3schools.com โ€บ c โ€บ c_exercises.php
C Exercises
HTML CSS JAVASCRIPT SQL PYTHON JAVA PHP HOW TO W3.CSS C C++ C# BOOTSTRAP REACT MYSQL JQUERY EXCEL XML DJANGO NUMPY PANDAS NODEJS DSA TYPESCRIPT SWIFT ANGULAR ANGULARJS GIT POSTGRESQL MONGODB ASP AI R GO KOTLIN SWIFT SASS VUE GEN AI SCIPY AWS CYBERSECURITY DATA SCIENCE INTRO TO PROGRAMMING HTML & CSS BASH RUST ... Create Variables Format Specifiers Change Values Multiple Variables Variable Names Real-Life Examples C Data Types
Find elsewhere
๐ŸŒ
Codeforwin
codeforwin.org โ€บ home โ€บ c programming examples, exercises and solutions for beginners
C programming examples, exercises and solutions for beginners - Codeforwin
January 14, 2023 - Fundamentals Hello world program in C Basic input/output Basic IO on all data types Perform arithmetic operations Find area and perimeter of rectangle Find diameter and area of circle Find area of triangle Find angles of triangle Temperature ...
๐ŸŒ
HackerRank
hackerrank.com โ€บ domains โ€บ c
Solve Programming Questions | HackerRank
Join over 28 million developers in solving code challenges on HackerRank, one of the best ways to prepare for programming interviews.
๐ŸŒ
Sanfoundry
sanfoundry.com โ€บ c-programming-examples
C Programming Examples | C Programs - Sanfoundry
December 19, 2022 - 1000+ C programming examples for beginners and experts. C programs are classified as arrays, pointer, matrix, strings, Fibonacci, factorial, and palindrome.
๐ŸŒ
WsCube Tech
wscubetech.com โ€บ resources โ€บ c-programming โ€บ programs
C Programs (Code Examples With Output)
Explore a comprehensive collection of C programs, from basics to advanced. Perfect for beginners and experts to practice and master C programming.
๐ŸŒ
Exercism
exercism.org โ€บ tracks โ€บ c
C on Exercism
Join Exercismโ€™s C Track for access to 84 exercises with automatic analysis of your code and personal mentoring, all 100% free. ... Get better at programming through fun, rewarding coding exercises that test your understanding of concepts with Exercism.
๐ŸŒ
BeginnersBook
beginnersbook.com โ€บ 2015 โ€บ 02 โ€บ simple-c-programs
Ultimate Collection of C Programs: Source Code with Outputs
December 1, 2024 - If you want to master programming in C language then these are the best books for you. Refer them and practice the programs that I have shared above.
๐ŸŒ
Learn C
learn-c.org
Learn C - Free Interactive C Tutorial
If you'd like to learn how to manage memory in C from start to finish, become a member and use code LEARNXORG for 25% off your first year! Whether you are an experienced programmer or not, this website is intended for everyone who wishes to learn the C programming language.
๐ŸŒ
Scribd
scribd.com โ€บ document โ€บ 132425807 โ€บ C-Programming-Exercises
C Programming Exercises | PDF | C (Programming Language) | Pointer (Computer Programming)
The questions cover topics like checking odd/even numbers, checking vowels, calculating factorials, finding HCF and LCM, decimal to binary conversion, reversing numbers, and swapping numbers.
Rating: 4.4 โ€‹ - โ€‹ 13 votes
๐ŸŒ
GeeksforGeeks
geeksforgeeks.org โ€บ c language โ€บ c-exercises
C Exercises - Practice Questions with Solutions for C Programming - GeeksforGeeks
July 23, 2025 - It covers all major concepts like arrays, pointers, for-loop, and many more. So, Keep it Up! Solve topic-wise C exercise questions to strengthen your weak topics. Also, Once you've covered basic C exercises, the GeeksforGeeks Practice Platform is a great place to take on more advanced C coding problems and improve your understanding. The following are the top 30 programming exercises with solutions to help you practice online and improve your coding efficiency in the C language.
๐ŸŒ
Quora
quora.com โ€บ What-are-some-must-do-practice-C-programs
What are some must do practice C programs? - Quora
Answer (1 of 3): * Linked List Programs(increase your learning on pointers) - Insertion, Deletion, Multi-directional List * Prime Generator - Using Sieve of Eratosthenes Algorithm * Set Operations(Read Sets from a text file and write output on another text file) - Union, Intersection, Differen...
๐ŸŒ
w3resource
w3resource.com โ€บ c-programming-exercises โ€บ for-loop โ€บ index.php
C Programming Exercises, Practice, Solution : For Loop
September 27, 2025 - This resource offers a total of 305 C For Loop problems for practice. It includes 61 main exercises, each accompanied by solutions, detailed explanations, and four related problems. [An Editor is available at the bottom of the page to write and execute the scripts.] ... Write a program in C to display the first 10 natural numbers.
๐ŸŒ
PW Skills
pwskills.com โ€บ blog โ€บ cpp โ€บ examples of c: simple c programs for beginners (with output)
Examples Of C: Simple C Programs For Beginners (With Output)
4 weeks ago - This guide includes simple C programs, basic C codes, practice questions, and real outputs. Use these examples to understand logic, syntax, loops, functions, and problem-solving โ€” all designed for step-by-step learning through clear, tested C program examples.
๐ŸŒ
Studytonight
studytonight.com โ€บ c โ€บ programs
100+ C Programs with Code | C Programs List 2023 | Studytonight
C programming examples or C programs with basic as well as advanced C programs with output for practice and improving C coding skills.