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;
}

Comments

Popular posts from this blog

cpanel exam CPSP Answers

How to install zimbra collaboration suite 8.8.11 on CentOS 7

awstats installation