I don't know exactly why I use %lf when I input real numbers in the scanf function.
Asked 2 years ago, Updated 2 years ago, 83 views
I heard that if you receive a real data value from the scanf function, the data type of the factor value is automatically changed from float type to double type, so in that way, the int type data value will not change to long type but remain int type?