Sizeof.c
Upload User: dq031136
Upload Date: 2022-08-08
Package Size: 802k
Code Size: 0k
Development Platform:

C++ Builder

  1. #include <stdio.h>
  2. void main(void)
  3.  {
  4.    printf("Variables of type int use %d bytesn", sizeof(int));
  5.    printf("Variables of type float use %d bytesn", sizeof(float));
  6.    printf("Variables of type double use %d bytesn", sizeof(double));
  7.    printf("Variables of type unsigned use %d bytesn", sizeof(unsigned));
  8.    printf("Variables of type long use %d bytesn", sizeof(long));
  9.  }