As you may have worked out, it’s not necessary to specify the l flag. According to the docs, a decimal integer is specified by d just like in C++. So the answer is just %d.
As you may have worked out, it’s not necessary to specify the l flag. According to the docs, a decimal integer is specified by d just like in C++. So the answer is just %d.