-->

Facebook

Jasper Roberts - Blog

Thursday, September 18, 2014

printf()

The ...printf functions do the following:
  - Accept a series of arguments
  - Apply to each argument a format specifier contained in the format string *format
  - Output the formatted data (to the screen, a stream, stdin, or a string)

These functions apply the first format specifier to the first argument, the second specifier to the second argument, the third to the third, etc., to the end of the format.

    syntax:
Printf("text");
         
    Example:
printf("Hello World!!");

    syntax:
printf("text datatype_specifier", variable name);
 
    Example:
printf("my roll number is : %d", rollnumber);

from: turbo c

No comments:

Post a Comment