fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. printf("size of int:%u bytes\n", sizeof(int));
  5. printf("size of char: %u bytes\n", sizeof(char));
  6. printf("size of float: %u bytes\n",sizeof(float));
  7. // your code goes here
  8. return 0;
  9. }
  10.  
Success #stdin #stdout 0s 5320KB
stdin
Standard input is empty
stdout
size of int:4 bytes
size of char: 1 bytes
size of float: 4 bytes