C Programming Exercises, Practice, Solution
What is C Programming Language?
C is a general-purpose, imperative computer programming language, supporting structured programming, lexical variable scope and recursion, while a static type system prevents many unintended operations. C was originally developed by Dennis Ritchie between 1969 and 1973 at Bell Labs. It has since become one of the most widely used programming languages of all time, with C compilers from various vendors available for the majority of existing computer architectures and operating systems.
The best way we learn anything is by practice and exercise questions. We have started this section for those (beginner to intermediate) who are familiar with C programming.
Hope, these exercises help you to improve your C programming coding skills. Currently, following sections are available, we are working hard to add more exercises. Please refer to this page for important C snippets, code, and examples before starting the exercises. Happy Coding!
List of C Programming Exercises :
Basic Concepts- Basic Declarations and Expressions [ 150 Exercises with Solution ]
- Basic Part-II [ 7 Exercises with Solution ]
- Basic Algorithm [ 75 Exercises with Solution ]
- Variable Type [ 18 Exercises with Solution ]
- Input, Output [ 10 Exercises with Solution ]
- Conditional Statement [ 26 Exercises with Solution ]
- While Loop [ 11 Exercises with Solution ]
- Do-While Loop [ 12 Exercises with Solution ]
- For Loop [ 61 Exercises with Solution ]
- Array [ 107 Exercises with Solution ]
- Structure [ 9 Exercises with Solution ]
- Pointer [ 22 Exercises with Solution ]
- Linked List [ 64 Exercises with Solution ]
- Stack [ 17 Exercises with Solution ]
- Binary Heap (Tree-Based Structure) [ 9 Exercises with Solution ]
- Queue [ 13 Exercises with Solution ]
- Hash [ 10 Exercises with Solution ]
- Tree [ 10 Exercises with Solution ]
- Graph [ 10 Exercises with Solution ]
- Function [ 12 Exercises with Solution ]
- Callback Function [ 11 Exercises with Solution ]
- Variadic Function [ 8 Exercises with Solution ]
- Inline Function [ 11 Exercises with Solution ]
- Challenges [ 35 exercises with solution ]
- C Snippets [29]
- More to Come !
[ Want to contribute to C exercises? Send your code (attached with a .zip file) to us at w3resource[at]yahoo[dot]com. Please avoid copyrighted materials.]
Do not submit any solution of the above exercises at here, if you want to contribute go to the appropriate exercise page.
List of Exercises with Solutions :
- HTML CSS Exercises, Practice, Solution
- JavaScript Exercises, Practice, Solution
- jQuery Exercises, Practice, Solution
- jQuery-UI Exercises, Practice, Solution
- CoffeeScript Exercises, Practice, Solution
- Twitter Bootstrap Exercises, Practice, Solution
- C Programming Exercises, Practice, Solution
- C# Sharp Programming Exercises, Practice, Solution
- PHP Exercises, Practice, Solution
- Python Exercises, Practice, Solution
- R Programming Exercises, Practice, Solution
- Java Exercises, Practice, Solution
- SQL Exercises, Practice, Solution
- MySQL Exercises, Practice, Solution
- PostgreSQL Exercises, Practice, Solution
- SQLite Exercises, Practice, Solution
- MongoDB Exercises, Practice, Solution
It will be nice if you may share this link in any developer community or anywhere else, from where other developers may find this content. Thanks.
https://www.w3resource.com/c-programming-exercises/index.php
- Weekly Trends and Language Statistics
- Weekly Trends and Language Statistics