Monday, 28 March 2016

printf("")


Hello guys, today i am gonna tell you about the function known as printf();
here is our basic program we are gonna study all of its element line by line so today is the turn of the function printf();



#include<stdio.h>
#include<conio.h>
void main()
{
 clrscr();
 printf("hello world");
}




printf stands for PRINT FORMATTED 
printf() is a function which we will use in every program . Its task is to print an output or a line or a simple sentence in output/console window ( in our example it is used to print the line hello world). printf() will print any word or sentence which is placed between "" , except escape sequences like \n \a etc ( about which I will tell u in my next post ). Till now we can understand printf() by a simple logic that ,it will print everything which is placed between inverted commas "" except some special symbol (\n , \a  etc).

SYNTAX: 
printf(" your message or output ");

NOTE: printf()  IS ALSO USE TO PRINT A VARIABLE WHICH WE WILL COVER AFTER COVERING A TOPIC CALLED VARIABLES .

 THANK U !!!!

Related Posts:

  • stdio.h????? hello guys, today i am gonna tell you about most used header file which is <stdio.h>.. here is our basic program we are gonna study all of… Read More
  • printf("") Hello guys, today i am gonna tell you about the function known as printf(); here is our basic program we are gonna study all of its element li… Read More
  • BASIC C program hello guys , today we are gonna start with our 1st program in C language....we are gonna learn this program in small small parts cause this is yo… Read More
  • Escape sequences // hello guys , today i m gonna tell u about what are  escape sequence in C language .... so here are the list of escape sequences we are gonna… Read More
  • IDE.....!!!! HELLO  guys , today i am gonna show you guys how to install IDE  of C langugae... SO  guys what is an IDE ? well guys ,IDE stands … Read More

0 comments:

Post a Comment