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, December 2019 compared to a year ago:

Rank Change Language Share Trend
1 Python 29.71 % +4.1 %
2 Java 19.29 % -2.2 %
3 Javascript 8.33 % +0.0 %
4 C# 7.27% -0.4 %
5 PHP 6.32 % -1.0 %
6 C/C++ 6.0 % -0.3 %
7 R 3.79 % -0.2 %
8 Objective-C 2.61% -0.6 %
9 Swift 2.5 % -0.1 %
10 Matlab 1.84 % -0.2 %
11 TypeScript 1.81 % +0.2 %
12 up arrow Kotlin 1.63 % +0.5 %
13 VBA 1.37 % -0.1 %
14down arrow Ruby 1.35 % -0.2 %
15 up arrow Go 1.32 % +0.3 %
16 down arrow Scala 1.16 % -0.0 %
17 down arrow Visual Basic 0.98 % -0.2 %
18up arrow Rust 0.63 % +0.2 %
19 down arrow Perl 0.51 % -0.1 %
20 up arrow Dart 0.39 % +0.2 %
21 down arrow Lua 0.36 % -0.0 %
22 down arrow Haskell 0.29 % -0.0 %
23 down arrow Julia 0.28 % +0.0 %
24 down arrow Delphi 0.23 % -0.0 %

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

TIOBE Index for December 2019

Dec 2019 Dec 2018 Change Programming Language Ratings Change
1 1 Java 17.253% +1.32%
2 2 C 16.086% +1.80%
3 3 Python 10.308% +1.93%
4 4 C++ 6.196% -1.37%
5 6 up arrow C# 4.801% +1.35%
6 5 down arrow Visual Basic .NET 4.743% -2.38%
7 7 JavaScript 2.090% -0.97%
8 8 PHP 2.048% -0.39%
9 9 SQL 1.843% -0.34%
10 14 up arrow Swift 1.490% +0.27%
11 17 up arrow Ruby 1.314% +0.21%
12 11 down arrow Delphi/Object Pascal 1.280% -0.12%
13 10 down arrow Objective-C 1.204% -0.27%
14 12 down arrow Assembly language 1.067% -0.30%
15 15 Go 0.995% -0.19%
16 16 R 0.995% -0.12%
17 13 down arrow MATLAB 0.986% -0.30%
18 25 up arrow D 0.930% +0.42%
19 19 Visual Basic 0.929% -0.05%
20 18 down arrow Perl 0.899% -0.11%

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

List of Exercises with Solutions :



Inviting useful, relevant, well-written and unique guest posts