Printf – Computing Reference – eLook.org


Printf



<library> The standard function in the C programming language library for printing formatted output.

The first argument is a format string which may contain ordinary characters which are just printed and “conversion specifications” – sequences beginning with ‘%’ such as %6d which describe how the other arguments should be printed, in this case as a six-character decimal integer padded on the right with spaces.

Possible conversion specifications are d, i or u (decimal integer), o (octal), x, X or p (hexadecimal), f (floating-point), e or E (mantissa and exponent, e.g. 1.23E-22), g or G (f or e format as appropriate to the value printed), c (a single character), s (a string), % (i.e. %% – print a % character).

d, i, f, e, g are signed, the rest are unsigned.

The variant fprintf prints to a given output stream and sprintf stores what would be printed in a string variable.

Unix manual page: printf(3).

< Previous Terms Terms Containing printf Next Terms >
PRINT
printed circuit board
printer
Printer Access Protocol
printer port
elevator controller
for loop
fprintf
GNU BC
Obfuscated C Contest
PRINT I
printing discussion
print server
Print Services Facility
priority interrupt

Best casinos
Glory Casino is one of Bangladesh's most prominent and generous online casinos, with 3,000+ slots and live games from top providers. Beginner-friendly and mobile-ready, it offers big welcome bonuses, fast payouts, and fair winning odds.
Wintomic Casino offers a calm, well-structured gaming experience with a wide range of quality slots and live games from trusted providers. With secure SSL encryption, fair RNG play, and clear bonus terms, it's built for smooth, reliable fun.
Play the best casino games on Banger Casino across mobile and desktop and win real money! Enjoy a massive slots library, live dealers, and table games, plus a 125% welcome bonus up to €250 under a valid Curaçao license. Sign up today.
Divine Casino delivers a secure, stylish gaming experience with thousands of slots, live dealers, crash games, and sports betting. Claim a generous welcome bonus with free spins, enjoy fast withdrawals, and play with 24/7 support.

© Copyright 2026 elook.games
Powered by WordPress | Mercury Theme