There is no difference between output such as printf.
However, when it is an input format specifier such as scanf,
That's the difference
int main(void) {
int a;
If scanf("%i", &a); //011 is entered, 9
If scanf("%d", &a); //011 is entered, 11
}
© 2024 OneMinuteCode. All rights reserved.