C getw() function is used to read an integer from a file that has been opened in read mode. It is a file handling function that is used for reading integer values. This tutorial guides you on how to use the getw() function in the C program.



Syntax:

int getw( FILE * stream );


Found This Useful? Share This Page!