03 - Datatypes in C++ (Hindi/Urdu)

Datatypes in C++

In this video, we are going to see the main datatypes available in C++ programming language.

Series playlist ▶︎ https://youtube.com/playlist?list=PLt4rWC_3rBbWnDrIv4IeC4Vm7PN1wvrNg 

Source Code:

#include <iostream>
using namespace std;

int main(){
    
    // Integral Data Types
    /* 
        1. char  // 1 byte 
        2. short // 2 bytes
        3. int  // 4 bytes
        4. long int  // 4 bytes
        5. long long int // 8 bytes 
    */

    // Floating Data Types
    /* 
        1. float 
        2. double 
    */

   // Boolean Data Types
   /* 
        1. bool
    */

   // Enumeration Data Type
   /* 
        1. enum
    */



    return 0;
}

Watch The Video:

Post a Comment

0 Comments