facebook twitter pinterest google plus Youtube
www.TestsTestsTests.com

Free C++ Tests and Quizzes Online


www.TestsTestsTests.com original C++ Tests soming soon!!!

"C makes it easy to shoot yourself in the foot; C++ makes it harder, but when you do, it blows away your whole leg." - Bjarne Stroustrup



C++ Tests and Quizzes

C++ Basics Test - beginner level
If statements Test - The most basic kind of conditional branch in C++
Loops Test - A loop is a way of repeating a statement a number of times until some way of ending the loop occurs.
Functions Quiz
Switch-case
Pointers
Structures
Arrays
C-style Strings
C++ File I/O
Typecasting
Classes
Inline Methods
Accepting Command Line Arguments

C Quizzes and Tests

C Basics Test
If statements
Loops
Functions
Switch-case
Pointers
Structures
Arrays
C-style Strings
Typecasting
Accepting Command-Line Arguments

What is the Difference between C and C++

C programming language has been the foundation for different programming languages like C++ which is the superset of the C Language. This means that the syntax used in creating program codes in C language can be run in C++.

C language differs from C++ because C language is a procedural type of programming while C++ is an example of an object-oriented programming language.

In terms of security, the data in C language is not secure but the data in C++ is secure because of one of the features of C++  (being an object-oriented programming language) is the Data Hiding.

C Language has different functions that are the building blocks of a C program while C++ deals with objects as its building blocks in creating a program.

C++ being an object-oriented programming languagfffe has is polymorphic: that is it can support a program with two functions having the same name while the C language cannot.

Another feature of C++ is Exception Handling like the throw and catch exception that is not present in C.