DATA types in C++ languages .
Data types We already introduced data types earlier in the variables section. Here is an example of a code with all the data types used for revision purpose. this is the data types - Int - 4 bytes Float - 4 bytes Double - 8 bytes Char - 1 byte Bool – 1 byte #include <iostream> #include <string> using namespace std; int main () { // Creating variables int _Num = 5; // Integer float _Float = 5.99; // Floating point number double _Double = 9.98; // Floating point number char _Char= 'G'; // Character bool _Bool = true; // Boolean string _String = "Namaste"; // String // Print variable values cout << "int: " << _Num << "\n"; cout << "float: " << _Float << "\n"; cout << "dou...