Cplusplus
cplusplus.com › reference › cstdio › printf
Printf
printf · function · <cstdio> int printf ( const char * format, ... ); Print formatted data to stdout · Writes the C string pointed by format to the standard output (stdout).
Linux Man Pages
man7.org › linux › man-pages › man3 › printf.3.html
printf(3) - Linux manual page
One can also specify explicitly which argument is taken, at each place where an argument is required, by writing "%m$" instead of '%' and "*m$" instead of '*', where the decimal integer m denotes the position in the argument list of the desired argument, indexed starting from 1. Thus, printf("%*d", width, num); and printf("%2$*1$d", width, num); are equivalent.
Videos
09:20
7. Printf Function | C Programming For Beginners - YouTube
16:46
printf Basics | C Programming Tutorial - YouTube
04:20
How to Print Variables in C (Printf Format Specifiers) - YouTube
16:24
Mastering printf in C Programming Language : Format Specifiers ...
16:54
printf is Actually a Secret Virtual Machine - And a Giant Security ...
14:08
So many printf varieties (sprintf, fprintf, vprintf, ...) - YouTube
cppreference.com
en.cppreference.com › c › io › fprintf
printf, fprintf, sprintf, snprintf, printf_s, fprintf_s, sprintf_s, snprintf_s - cppreference.com
#include <inttypes.h> #include <stdint.h> #include <stdio.h> int main(void) { const char* s = "Hello"; printf("Strings:\n"); // same as puts("Strings"); printf(" padding:\n"); printf("\t[s]\n", s); printf("\t[%-10s]\n", s); printf("\t[%*s]\n", 10, s); printf(" truncating:\n"); printf("\t%.4s\n", s); printf("\t%.*s\n", 3, s); printf("Characters:\t%c %%\n", 'A'); printf("Integers:\n"); printf("\tDecimal:\t%i %d %.6i %i %.0i %+i %i\n", 1, 2, 3, 0, 0, 4,-4); printf("\tHexadecimal:\t%x %x %X %#x\n", 5, 10, 10, 6); printf("\tOctal:\t\t%o %#o %#o\n", 10, 10, 4); printf("Floating-point:\n"); printf("
GeeksforGeeks
geeksforgeeks.org › c language › printf-in-c
printf in C - GeeksforGeeks
In C language, printf() function is used to print formatted output to the standard output stdout (which is generally the console screen).
Published October 18, 2025
NV5 Geospatial Software
nv5geospatialsoftware.com › docs › Format_Codes_CPrintf.html
C printf-Style Format Codes
View our Documentation Center document now and explore other helpful examples for using IDL, ENVI and other products.
UC3M
it.uc3m.es › pbasanta › asng › course_notes › input_output_printf_en.html
8.3.4. The printf function
The printf function (the name comes from “print formatted”) prints a string on the screen using a “format string” that includes the instructions to mix several strings and produce the final string to be printed on the screen.
Microsoft Learn
learn.microsoft.com › en-us › cpp › c-runtime-library › format-specification-syntax-printf-and-wprintf-functions
Format Specification Syntax: `printf` and `wprintf` Functions | Microsoft Learn
The various printf and wprintf functions take a format string and optional arguments and produce a formatted sequence of characters for output. The format string contains zero or more directives, which are either literal characters for output or encoded conversion specifications that describe how to format an argument in the output.
JuliaLang
docs.julialang.org › en › v1 › stdlib › Printf
Printf · The Julia Language
The Printf module provides formatted output functions similar to the C standard library's printf.
Wikipedia
en.wikipedia.org › wiki › Printf
printf - Wikipedia
2 weeks ago - printf is a C standard library function and is also a Linux terminal (shell) command that formats text and writes it to standard output. The function accepts a format C-string argument and a variable number of value arguments that the function serializes per the format string.
The Open Group
pubs.opengroup.org › onlinepubs › 9699919799 › utilities › printf.html
printf
The floating-point formatting conversion specifications of printf() are not required because all arithmetic in the shell is integer arithmetic. The awk utility performs floating-point calculations and provides its own printf function. The bc utility can perform arbitrary-precision floating-point ...
OCaml
ocaml.org › api › Printf.html
OCaml library : Printf
Same as Printf.fprintf, but instead of printing on an output channel, return a string containing the result of formatting the arguments.
Lenovo
lenovo.com › home
Master Printf for Powerful Formatted Output | Lenovo US
Printf is a function used in programming that allows you to send formatted output to the screen. If you're coding in C or similar languages, you'll find printf invaluable for creating readable, informative output. It can display numbers, characters, strings, and even hexadecimal values.
IBM
ibm.com › docs › ssw_aix_72 › p_commands › printf.html
printf Command
Get assistance for the IBM products, services and software you own · Provides fixes and updates for your system's software, hardware, and operating system
Wikipedia
en.wikipedia.org › wiki › Printf_(Unix)
printf (Unix) - Wikipedia
May 10, 2026 - printf is a shell command that formats and outputs text like the same-named C function. It is available in a variety of Unix and Unix-like systems. Some shells implement the command as builtin and some provide it as a utility program · The command has similar syntax and semantics as the library ...
W3Schools
w3schools.com › PhP › func_string_printf.asp
PHP printf() Function
The printf() function outputs a formatted string.
IBM
ibm.com › docs › en › i › 7.4.0
printf - Write formatted output
We cannot provide a description for this page right now
Codefinity
codefinity.com › courses › v2 › 0472c1c8-2260-4847-940e-7678335677da › 340f5c7c-c4c9-4c3f-849f-acdeccdf1c4c › 25d34e82-2434-466f-b724-42e0dc5d4567
Learn Using the printf Function | Data Types and Variables
C language doesn't inherently possess Input/Output (I/O) capabilities. The role of the printf() function is to take your variable's value, convert its content into characters, and then replace the "%d" with them.