06 - Floating-point Datatypes in C++ (Hindi/Urdu)

Floating-point Datatypes in C++

In this video, we are going to see floating datatypes available in C++ programming language. There are two types of floating datatypes in C++ and this video will cover them both in detail.

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

Source Code:

#include <iostream>
using namespace std;

int main(){
    float f = 12.01f;
    double d = 5239.423;

    // cout<< f << endl;
    // cout<< d << endl;

    // cout<< typeid(43.0).name() << endl;

    return 0;
}

Watch The Video:

Post a Comment

0 Comments