Use of 'sizeof' operator in C
#include <stdio.h>
int main(void) {
int intType;
float floatType;
double doubleType;
char charType;
printf("The memory space of int datatype is %zu byte. \n", sizeof(intType));
printf("The memory space of float datatype is %zu byte. \n", sizeof(floatType));
printf("The memory space of double datatype is %zu byte. \n", sizeof(doubleType));
printf("The memory space of char datatype is %zu byte. \n", sizeof(charType));
return 0;
}