//sizes of data types
#include iostream.h
#include conio.h
class datatypes
{
private:
public:
void show();
};
void datatypes :: show()
{
cout<<"\nsize of integer ="sizeof(int);
cout<<"\nsize of float ="sizeof(float);
cout<<"\nsize of double ="sizeof(double);
cout<<"\nsize of character ="sizeof(char);
}
int main()
{
datatypes dat;
dat.show();
return 0;
};