w3resource

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, and used to re-implement the Unix operating system. 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 .... Happy Coding!

List of C Programming Exercises :

[ 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.]

Popularity of Programming Language
Worldwide, February 2020 compared to a year ago:

Rank Change Language Share Trend
1 Python 29.88 % +4.1 %
2 Java 19.05 % -1.8 %
3 Javascript 8.17 % +0.1 %
4 C# 7.3% -0.1 %
5 PHP 6.15 % -1.0 %
6 C/C++ 5.92 % -0.2 %
7 R 3.74 % -0.2 %
8 Objective-C 2.42% -0.6 %
9 Swift 2.28 % -0.2 %
10 up arrow TypeScript 1.84 % +0.3 %
11 down arrow Matlab 1.83 % -0.1 %
12 up arrow Kotlin 1.64 % +0.5 %
13 VBA 1.31 % -0.1 %
14down arrow Ruby 1.28 % -0.2 %
15 up arrow Go 1.21 % +0.1 %
16 down arrow Scala 0.97 % -0.2 %
17 down arrow Visual Basic 0.88 % -0.2 %
18up arrow Rust 0.63 % +0.2 %
19 down arrow Perl 0.52 % -0.1 %
20 down arrow Abap 0.48 % -0.1 %
21 up arrow Dart 0.42 % +0.2 %
22 down arrow Groovy 0.39 % -0.1 %
23   Ada 0.31 % -0.0 %
24 down arrow Lua 0.31 % -0.1 %
25 down arrow Cobol 0.3 % -0.0 %
26 down arrow Haskell 0.28 % -0.0 %
27 down arrow Julia 0.27 % +0.0 %
28 down arrow Delphi 0.23 % -0.0 %

Source : http://pypl.github.io/PYPL.html

TIOBE Index for February 2020

Feb 2020 Feb 2019 Change Programming Language Ratings Change
1 1 Java 17.358% +1.48%
2 2 C 16.766% +4.34%
3 3 Python 9.345% +1.77%
4 4 C++ 6.164% -1.28%
5 7 up arrow C# 5.927% +3.08%
6 5 down arrow Visual Basic .NET 5.862% -1.23%
7 6 down arrow JavaScript 2.060% -0.79%
8 8 PHP 2.018% -0.25%
9 9 SQL 1.526% -0.37%
10 20 up arrow Swift 1.460% +0.54%
11 18 up arrow Go 1.131% +0.17%
12 11 down arrow Assembly language 1.111% -0.27%
13 15 up arrow R 1.005% -0.04%
14 23 up arrow D 0.917% +0.28%
15 16 up arrow Ruby 0.844% -0.19%
16 12 down arrow MATLAB 0.794% -0.40%
17 21 up arrow PL/SQL 0.764% -0.05%
18 14 down arrow Delphi/Object Pascal 0.748% -0.32%
19 13 down arrow Perl 0.697% -0.40%
20 10 down arrow Objective-C 0.688% -0.76%

Source : https://www.tiobe.com/tiobe-index/

List of Exercises with Solutions :