Data Output printf and putchar Example Program In C

Definition for printf and putchar

  • In C Programming,printf function to output a formatted string.
  • putchar function to output a Single character.Writes a character to the standard output (stdout).

Syntax for printf and putchar()

printf(const char *format, ...);
putchar(character/character variable);

Example Program Data Output In C (printf and putchar)

/* Example Program For Data Output printf and putchar Example In C Programming Language
  little drops @
  Coded By:THIYAGARAAJ MP       */
// Header Files

//Main Function
int main()
	//Printf Standard Ouput Statement
	printf("Data Output Using Printf\n");

	// Print Single Character
	// Wait For Output Screen (Not working in gcc compiler, please remove it. In gcc compiler)

	//Main Function return Statemen
	return 0;

Sample Output:

Data Output Using Printf