#include <stdio.h>
int main()
{
int a;
float b;
double c;
char d;
printf("Size of int=%lu bytes
",sizeof(a));
printf("Size of float=%lu bytes
",sizeof(b));
printf("Size of double=%lu bytes
",sizeof(c));
printf("Size of char=%lu byte
",sizeof(d));
return 0;
}
printf(“size of int in byte : %d “,sizeof(int));
Code Example |
---|
C :: check if pid exists c |
C :: c typedef |
C :: how to make a check bigger |
C :: how to malloc for matrix in c |
C :: sort names in array in c |
C :: highest common factor algorithm in c |
C :: lichess puzzles |
C :: bubble sort c |
C :: mongo connect db |
C :: Leap year using function in c |
C :: c print characters |
C :: c program to implement mv command |
C :: binary tree count number of leaves in c |
C :: getchar c |
C :: input value from terminal to c |
C :: rust set toolchain |
C :: print the name of a file c |
C :: hash function in c |
C :: C Syntax of realloc() |
C :: what is clrsce in C |
C :: pathlib exclude hidden file |
C :: c get int inpot |
C :: C Keyword typedef |
C :: insertNode |
C :: convert c to python online |
C :: arma 3 key pressed |
C :: how to alias an awk command |
C :: C Common mistakes when working with pointers |
C :: WAP to create Database using array of structure & display it in C |
C :: convert curl to http request with authorization header |