0
Well in the case of sizeof ....how does the output of program shows the value as 4,4,8,1??
2 Réponses
+ 3
It would be tremendously helpful if you could post the code
+ 1
#include <stdio.h>
int main() {
printf("int: %d \n", sizeof(int));
printf("float: %d \n", sizeof(float));
printf("double: %d \n", sizeof(double));
printf("char: %d \n", sizeof(char));
return 0;
}
Output
int=4
float= 4
double=8
char=1