C program to use printf.

 #include <stdio.h>
 void main(){
	 integer a=5;
	 char b='p';
	 float c= 3.5;
	 printf("%d\n",a); // to print integer and \n is for new line
	 printf("%c\n",b); //to print character
	 printf("%f\n",c) ;  // to print float

%d,%c and %f are formal specifiers . Use these specifiers when you want to print any value.
%d prints integer
%c prints character
%f prints float values