0

Why %f is not used as data specifier for float?

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; } This was a example

12th Nov 2019, 9:35 AM
pranay sharma
2 Respostas