Tag Archives: to find size

CPP01- Write a CPP program to find size and print the all basic data types of C++.

Write a CPP program to find size and print the all basic data types of C++. CODE:- #include<iostream.h> #include<conio.h> void main() { char c=’c’; int i=123; short s=12; long l=98775345; float f=456.789; double d=12345.6789; clrscr(); cout << “Value of char   : ” << c << endl; cout << “Value of int    : ” << i… Read More »