#include<stdio.h>
int main()
{
printf("%d\t",sizeof(6.5));
printf("%d\t",sizeof(90000));
printf("%d",sizeof('A'));
return 0;
return 0;
}
Output: 8 4 1
Explanation:
6.5 is of double type by default, to make it float, it must be written as 6.5f.
90000 is of long type by default.
No comments:
Post a Comment