PROGRAM TO PRINT SIZE OF DATATYPES

/*PROGRAM TO PRINT SIZE OF DATATYPES*/ #include<conio.h> #include<iostream.h> class size { int i,f,c,li,d,ld; public: void calculate(); }; void size::calculate() { i=sizeof(int); f=sizeof(float); c=sizeof(char); li=sizeof(long int); d=sizeof(double); ld=sizeof(long double); cout<<“Size of …