11
Loading subject content…
Loading subject content…
Loading practice questions…
What will be the output of the program?
#include <stdio.h>
int main(void) {
printf("%zu %zu\n", sizeof(float), sizeof(double));
return 0;
}What will be the output of the program?
#include <stdio.h>
int main(void) {
float f = 5 / 2;
printf("%.2f\n", f);
return 0;
}What will be the output of the program?
#include <stdio.h>
int main(void) {
printf("%g\n", 0.0001);
return 0;
}What will be the output of the program?
#include <stdio.h>
int main(void) {
int i = 7;
printf("%.1f\n", i / 2.0f);
return 0;
}