AIM:
To write a c program to display the size of each data type.
ALGORITHM:
Step 1: Start the program.
Step 2: Use the “sizeof()” operator to display the size of each datatype.
Step 3 : Print the Fahrenheit value.
Step 4: Stop the program.
PROGRAM CODE:
#include<stdio.h>
#include<conio.h>
void main()
{ double a; clrscr(); printf("nSize of different datatypes in C"); printf("n--------------------------------"); printf("nSize of Integer : %d bytes",sizeof(int)); printf("nSize of Long : %d bytes",sizeof(long)); printf("nSize of Float : %d bytes",sizeof(float)); printf("nSize of Double : %d bytes",sizeof(a)); printf("nSize of Character : %d byte",sizeof(char)); printf("nSize of Unsigned Integer : %d bytes",sizeof(unsigned int)); getch();
}
OUTPUT:

RESULT:
Thus the c program to display the size of each data type is written and executed successfully.


![KeePassXC is An Amazing Community Driven Open Source Password Manager [Not Cloud Based]](https://linuxpunx.com.au/wp-content/uploads/2020/10/keepassxc-is-an-amazing-community-driven-open-source-password-manager-not-cloud-based-768x557.jpg)



![How to Install Fedora in VirtualBox [With Steps for USB, Clipboard and Folder Sharing]](https://linuxpunx.com.au/wp-content/uploads/2020/11/how-to-install-fedora-in-virtualbox-with-steps-for-usb-clipboard-and-folder-sharing-768x432.png)