Data types in C++

To write a program in any language, you need to use various variables to store various information of day to day life of as per the program. Variables are nothing but reserved memory locations to store values.

How to insert new line in C++?

The new line character \n can be used as an alternative to end a line in C++ program. The backslash (\) is called an escape character and indicates a special character. Using a single cout statement with as many instances of \n as your program requires will print out multiple lines of text.

Introduction to C++

C++ is a cross-platform language that can be used to create high-performance applications. It was developed by Bjarne Stroustrup in 1979 at Bell Labs, as an extension to the C language and gives programmers a high level of control over system resources and memory. C++ runs on a variety of platforms, such as Windows, Mac OS, and the various versions of UNIX.