Write a program in C + + to print the all basic data types of C + + .


Write a program in C + + to find and print the all basic data types of C++.

#include<iostream>
using namespace std;

int main()
{
    int rollno = 100;
    float marks = 98.5;
    char grade = 'A';
    cout << "Roll number " << rollno << endl;
    cout << "Marks " << marks <<endl;
    cout << "Grade " << grade << endl;
 
    return 0; 
}