#include <stdio.h> #include <conio.h> //C Program to Display Size of Different Datatypes - FScOnline.info int main() { printf("Type\t\t\tSize (bytes)"); printf("\nCharacter\t\t %d" ,sizeof(char)); printf("\nInteger\t\t\t %d" ,sizeof(int)); printf("\nLong in\t\t\t %d" ,sizeof(long int)); printf("\nFloa\t\t\t %d" ,sizeof(float)); printf("\nDouble\t\t\t %d" ,sizeof(double)); printf("\nLong double\t\t %d" ,sizeof(long double)); getch(); return 0; }
Trending
- Sindh Announced to Reconduct SSC Matric Annual Exams 2022
- Federal Government Announced Final date for FY 2022-23 Budget
- KPK Announced Summer Vacation 2022 for Summer & Winter Zone Areas
- UHS MBBS Final Professional Annual Exams Result 2022
- CMH Lahore Offering FCPS-II Courses Training Programme 2022
- University of Karachi (UOK) B.Com Part I & II Exams Date Sheet 2022
- HEC Notified Joint Scientific Exchange Program 2022 Between PSF & NSFC
- UVAS Issue Mid Term UBS Exams Date Sheet 2022 of Various Degree Programs
- Students Demand to Delay in Intermediate Board Exams 2022
- Notification About Benevolent Fund Grants to ESTs and Other Categories
Print Size of Different Data Types – C Program
I'm a full-stack developer, specializing in the PHP, JS, Wordpress, MEAN Stack, MERN Stack & Django. I hold a high standard of quality in everything that I do.
You might also like