Manga08 / printf

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PrintF

N|Solid

The printf is a function of the standart library of the language C that sends formatted output to stdout

Usage

Characters

  • print chars with the "%c"
  • Ej: printf("The char %c\n",'C')
  • result: The char is C

Strings

  • print the strings with the "%s"
  • Ej: printf("%s\n",'The string is this')
  • result: The string is this

Decimals

  • print the decimals with the "%d"
  • Ej: printf("%d\n",'100000')
  • result: 100000

Integers

  • print the integers with the "%i"
  • Ej: printf("%i\n",'13')
  • result: 13

Authors

About


Languages

Language:C 100.0%