| Introduction to C language |
Program to use sizeof a operator
/*use of sizeof operator*/
main()
{
int i;
char ch;
float n;
clrscr();
printf("\nSize of Integer : %d",sizeof(i));
printf("\nSize of Character : %d",sizeof(ch));
printf("\nSize of Float : %d",sizeof(n));
getch();
}
-----------------------------------------------------------------------------------------
|
|
|
| please mail comments to vgdarur@gmail.com |
|
|
|
www.iforerunner.com
|