First Commit
This commit is contained in:
8
DataTypeSize.c
Normal file
8
DataTypeSize.c
Normal file
@@ -0,0 +1,8 @@
|
||||
// WAP to check size of following data types: char,int,float, double.
|
||||
|
||||
void main() {
|
||||
printf("Size of char data type : %d\n",sizeof(char));
|
||||
printf("Size of int data type : %d\n",sizeof(int));
|
||||
printf("Size of float data type : %d\n",sizeof(float));
|
||||
printf("Size of double data type : %d\n",sizeof(double));
|
||||
}
|
||||
Reference in New Issue
Block a user