Friday, October 30, 2020

Tuesday, October 27, 2020

Monday, October 26, 2020

, ,

Example Program for setbuf Function in c

 setbuf() function in c programming is used to define how stream should be buffered and this function should be call when a file associated with the stream and a already open file but any input or output shouldn't take place.Example Program for setbuf Function in c Parameter for setbuf() function...

Sunday, October 25, 2020

Saturday, October 24, 2020

, ,

Example program for fsetpos() function in C programming

 In c handling, fsetpos() function will be used to set the position of input file with the help of fsetpos() access that point.If you use to fix the file indicator position at any time in the given file then we need to use the fsetpos() function. Return Value :- fsetpos() function return zero...
,

Example Program for FSEEK() function in c programming

 fseek() function in c programming is used to write data into desired file with the help of pointer which help to find the location into the given file.Example Program for FSEEK() function in c programming Syntax :- int fseek(FILE *stream, long int offset, int whence) There are three constants...

Friday, October 23, 2020

, , ,

Example program for fprintf() function in c

  The fprintf() function in c is used to write the formatted data into the file.This didn't print the data on the console. All the arguments of function fprintf() is same as the printf() but fprintf() has an extra arguments which is pointer that is used to find the location where the formatted...