Print a number · הדפס מספר
This page needs a recent browser (with SharedArrayBuffer support). Please update Chrome, Edge, Firefox or Safari to the latest version. · עמוד זה דורש דפדפן עדכני (תומך ב-SharedArrayBuffer). אנא עדכן את Chrome, Edge, Firefox או Safari לגרסה העדכנית ביותר.
English
Print a number
To print a number, use %d and put the number after the comma: printf("%d\n", 7);.
עברית
הדפסת מספר
להדפסת מספר, השתמש ב-%d והנח את המספר אחרי הפסיק: printf("%d\n", 7);.
Print the number 7. %d is the slot for a whole number. · הדפס את המספר 7. %d הוא התיבה למספר שלם.
Click Run to see the output here. · לחץ על הרץ כדי לראות את התוצא כאן.