Friday, October 30, 2020

,

Example program for slicing in python - python __slice__

 slice() function in python is used to sliced a given sequence or given object There are three parameters the first one is an starting point which is optional.second parameter for slice function tells about the ending point.Third one will tell the increment between each index.Syntax:- ...

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...