About 383,000 results
Open links in new tab
  1. printf, fprintf, sprintf, snprintf, printf_s, fprintf_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 …

  2. 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 …

  3. 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).

  4. C 库函数 – printf () | 菜鸟教程

    除了格式化说明符之外,printf () 函数还支持一些标志和选项,用于控制输出的精度、宽度、填充字符和对齐方式等。 例如: %-10s:左对齐并占用宽度为 10 的字符串; %5.2f:右对齐并占用 …

  5. 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 …

  6. printf - Wikipedia

    printf is a C standard library function 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 …

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

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

  8. C stdio printf () Function - W3Schools

    The printf() function is defined in the <stdio.h> header file. Note: More accurately, it writes to the location specified by stdout which is usually the console but it may be configured to point to a …

  9. 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.

  10. A `printf` format reference page (cheat sheet) (C, Java ...

    Jul 28, 2024 · Summary: This page is a printf formatting cheat sheet or reference page. I originally created this printf cheat sheet for my own programming purposes, and then thought it might be …