program to find the size of various data types on your system

#include<stdio.h>
int main()
{
printf(“n The size of short integer is :%d”,sizeof(short int));
printf(“n The size of unsigned integer is :%d”,sizeof(unsigned int));
printf(“n The size of signed integer is:%d”,sizeof(signed int));
printf(“n The size of integer is:%d”,sizeof(int));
printf(“n The size of long integer is:%d”,sizeof(long int));
printf(“n The size of character is:%d”,sizeof(char));
printf(“n The size of unsigned character is:%d”,sizeof(unsigned char));
printf(“n The size of signed integer is:%d”,sizeof(signed char));
printf(“n The size of floating point is :%d”,sizeof(float));
printf(“n The size of double number is :%d”,sizeof(double));
return 0;
}

Leave a Comment

Your email address will not be published. Required fields are marked *

To Resolve this issue at just 5$ from ServerExpert

https://serverexpert.io/

For Hosting please visit Hostingwebsite.io

You have Successfully Subscribed!

Open chat