Write a program to show the result of sizeof() operator.

Written by Sharad Raj on 13th of March, 2018

BASIC PROGRAMS   C LANGUAGE PROGRAMS

PROGRAM CODE

#include<stdio.h>

#include<conio.h>

void main()

{

int a,b;

clrscr();

printf("enter any number :");

scanf("%d",&a);

b=sizeof(a);

printf("size of number is = %d",b);

getch();

}