SEMrush

Thursday, 31 March 2016

printf function in c


printf() function in C

     

       In c language printf() is used to display the data on the  screen  ,using this function we 

can print string,numbers,etc..all types of data.

        The instruction  printf("hello"); will display the output  hello.
     If we use %d inside printf() we can print integer values.
eg:-
        int a=50;
       printf("%d",a);

         it will give a output of 50(value of a).




        
         

1 comment: