Skip to content

Print a number

Print a number

To print a number, use %d and put the number after the comma: printf("%d\n", 7);.

Log in or create account

IGCSE & A-Level