About 382,000 results
Open links in new tab
  1. printf - C++ Users

    Writes the C string pointed by format to the standard output (stdout). If format includes format specifiers (subsequences beginning with %), the additional arguments following format are …

  2. printf - Wikipedia

    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 …

  3. printf, fprintf, sprintf, snprintf, printf_s, fprintf_s, sprintf_s ...

    May 23, 2024 · As with all bounds-checked functions, printf_s, fprintf_s, sprintf_s, and snprintf_s are only guaranteed to be available if __STDC_LIB_EXT1__ is defined by the implementation …

  4. printf in C - GeeksforGeeks

    Oct 18, 2025 · In C language, printf () function is used to print formatted output to the standard output stdout (which is generally the console screen).

  5. printf, _printf_l, wprintf, _wprintf_l | Microsoft Learn

    Oct 26, 2022 · Starting in Windows 10 version 2004 (build 19041), the printf family of functions prints exactly representable floating point numbers according to the IEEE 754 rules for rounding.

  6. printf () function - C Library

    The C library printf () function is a fundamental tool for outputting formatted text to the standard output stream. It allows for versatile printing of variables, strings, and other data types.

  7. std::printf, std::fprintf, std::sprintf, std::snprintf - cppreference.com

    Jan 14, 2025 · std::printf("\tright-justified variable width: '%*c'\n", 5, 'x'); int r = std::printf("\tleft-justified variable width : '%*c'\n", -5, 'x'); std::printf("(the last printf printed %d characters)\n", r);

  8. Format Specification Syntax: `printf` and `wprintf` Functions

    Oct 3, 2025 · Describes the format specifier syntax for the Microsoft C runtime `printf` and `wprintf` functions

  9. C++ printf() Function - GeeksforGeeks

    Jul 23, 2025 · printf () function is originally declared under the <cstdio>header file. It prints the formatted string to the standard output stdout. Syntax: int printf(const char*word, .......) …

  10. printf (3) - Linux manual page - man7.org

    Code such as printf (foo); often indicates a bug, since foo may contain a % character. If foo comes from untrusted user input, it may contain %n, causing the printf () call to write to memory and …