Which format specifier is used with printf to print an int value in decimal form?
Correct answer C. %d
Explanation
The %d specifier prints a signed integer in decimal. %f is for floating-point values, %c for a single character and %s for a string.
Answer checked How we write and check questions
Discussion