Drop Down MenusCSS Drop Down MenuPure CSS Dropdown Menu

Wednesday, March 18, 2015

What is putw() function?



  • It is used to writes a integer to a file.
  • It write only one value at a time.
  • It is integer oriented function.
  • It is similar to putc().
  • It deals with only integer data.


Ex:
     while(( n = getw (fp)) != EOF )
     {
           if ( n % 2 == 0 )
                putw ( n, fp2 );
           else
                putw ( n, fp3 );
     }

No comments:

Post a Comment