w3resource logo
C++ Exercises

C++ Exercises practice with solution

What is C++ Programming Language?

C++ is a general-purpose programming language. It has imperative, object-oriented and generic programming features, while also providing facilities for low-level memory manipulation.

It was designed with a bias toward system programming and embedded, resource-constrained and large systems, with performance, efficiency and flexibility of use as its design highlights. Many vendors provide C++ compilers, including the Free Software Foundation, Microsoft, Intel, and IBM.

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++ Exercises

More to Come !

PopularitY of Programming Language
Worldwide, Sept 2017 compared to a year ago:

Rank Change Language Share Trend
1 Java 22.4 % -0.8 %
2 Python 17.0 % +4.0 %
3 PHP 8.7 % -1.0 %
4 C# 8.1 % -0.4 %
5 Javascript 8.0 % +0.6 %
6 C++ 6.8 % -0.2 %
7 C 6.1 % -1.1 %
8 up arrow R 3.7 % +0.6 %
9 down arrow Objective-C 3.5 % -1.4 %
10 Swift 2.9 % -0.1 %
11 Matlab 2.4 % -0.2 %
12 Ruby 1.6 % -0.6 %
13 up arrow VBA 1.5 % +0.0 %
14 up arrow TypeScript 1.4 % +0.4 %
15 down arrow Visual Basic 1.3 % -0.3 %
16 down arrow Scala 1.2 % +0.0 %
17 down arrow Perl 0.8 % -0.2 %
18 up arrow Kotlin 0.7 % +0.6 %
19 up arrow Go 0.6 % +0.2 %
20 down arrow lua 0.4 % -0.1 %
21 up arrow Rust 0.3 % +0.0 %
22 down arrow Haskell 0.3 % +0.0 %
23 down arrow Delphi 0.3 % -0.1 %

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

TIOBE Index for September 2017

Jun 2017 Jun 2016 Change Programming Language Ratings Change
1 1 Java 12.687% -5.55%
2 2 C 7.382% -3.57%
3 3 C++ 5.565% -1.09%
4 4 C# 4.779% -0.71%
5 5 Python 2.983% -1.32%
6 7 up arrow PHP 2.210% -0.64%
7 6 down arrow JavaScript 2.017% -0.91%
8 9 up arrow Visual Basic .NET 1.982% -0.36%
9 10 up arrow Perl 1.952% -0.38%
10 12 up arrow Ruby 1.933% -0.03%
11 18 up arrow R 1.816% +0.13%
12 11 down arrow Delphi/Object Pascal 1.782% -0.39%
13 13 Swift 1.765% -0.17%
14 17 up arrow Visual Basic 1.751% -0.01%
15 8 down arrow Assembly language 1.639% -0.78%
16 15 down arrow MATLAB 1.630% -0.20%
17 19 up arrow Go 1.567% -0.06%
18 14 down arrow Objective-C 1.509% -0.34%
19 20 up arrow PL/SQL 1.484% +0.04%
20 26 up arrow Scratch 1.376% +0.54%

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