/* putw/getw example */#include int main (){ FILE *file; int i; file = fopen ("my.bin","wb+"); putw (20,file); rewind (file); i=getw (file); fclose(file); return 0;}