...

Programming languages - C++

Back to Course

Lesson Description


Lession - #35 C++ Data Types


While composing program in any language, you really want to utilize different variables to store different information. Variables are only saved memory areas to store values. This implies that when you make a variable you save some space in memory.

You might get a kick out of the chance to store information of different data types like character, wide character, number, floating point, double floating point, boolean and so on. In light of the data type of a variable, the operating system assigns memory and concludes what can be put away in the held memory.
 

Primitive Built-in Types

C++ offers the programmer a rich combination of built-in as well as client characterized data types. Following table records down seven fundamental C++ data types −
 

Type Keyword
Boolean bool
Character char
Integer int
Floating point float
Double floating point double
Valueless void
Wide character wchar_t

 


Several of the basic types can be modified using one or more of these type modifiers −

 

  • signed
  • unsigned
  • short
  • long

 

 

 

 

 

Download Turbo C++ for Windows 10 is the software for composting programs in the C and C++ language.

 

 

 

 

 

 

Learn C programming. C is a general-purpose programming language, developed in 1972, and still quite popular.

 

 

object oriented programming conce pts: encapsulation, abstraction, inheritance, and polymorphism.

 

 

Learn how to set up C compiler for Windows. Scaler Topics explains a step by step process to download and install C compiler in Windows.