Monday, 20 March 2023

Data Types in C++ Programming

 What is C++ Language?

C++ is a universal programming language. C++ includes object-oriented concepts that have numerous advantages. Designed from a systems programming and embedded systems perspective. In 1983, "C with Classes" was renamed "C++" with virtual functions, function names and operator overloading, references, constants, type-safe free store memory allocation (new/delete), improved types, etc. new features have been added. Upon inspection, we can say that C++ is an extension of the C language.

Data types in C++ programming are as below:-

Integer

Integer data types are used to store numeric data only. That is, a number that does not itself have a fractional part.



Float

Floating-point types include all types where numbers can have a fractional part, such as: For example: 3.14 or pi.

Character

Most modern computer programming languages ​​store alphabets and letters by representing each with a small numeric code.

String

Most modern computer programming languages ​​have a means of representing strings, which are collections of characters such as words and sentences, and perform manipulation operations on data for various purposes.

Array

An array that is a collection of data items, all of the same data type. It facilitates execution by performing some operations on index values.

For More Information:                                    

Call us @ +91 9825618292

Visit us @ http://tccicomputercoaching.com

 

 

No comments:

Post a Comment