file handling in c with open and write code example Example: c open a file and write stuff FILE *fopen( const char * filename, const char * mode );