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

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

Wednesday, October 21, 2020

, ,

List of function program in c programming language

 Well as all of you can see in previous tutorial of function in c programming we try to cover all in-build function in c not just only c but also other programming language like python, javascript, SQL, and other languages.List of function program in c programming language  In this tutorial...

Tuesday, October 20, 2020

, ,

How to use the fflush in c programming with example

 fflush() function in c programming is use to  flushes the contents of output to given file.Understand the fflush function:-To discuses the common issue due to the output buffering after the execute the c program. #include <stdio.h> int main() { fprintf(stdout, "This is to stdout....

Monday, October 19, 2020

, , ,

Example program for fscanf function in c

 fscanf() function in c programming is used to read input from a file. Well this function works same as the scanf() function in c programming but instead of read the given input in c program fscanf() function read the data from file.Most of the arguments of fscanf() function in c are same...

Friday, October 16, 2020

Wednesday, October 14, 2020

,

System() function program in c

 In System library function in c use the command int system(const char *command) name or program name to the host environment and also executed command processor and returns the command after complete the task that is given in the c program. Parameters For System() function program in c :Command:- ...

Sunday, October 11, 2020

, ,

Example Program For Lab() Function In C Programming

 Lab() Function in c programming gives the absolute value of the integer and it return the absolute value of the long integer argument.Showing program will tell how you can use the LAB function in c programming.Example Program For  Lab() Function In C Programming Parameters:-Y − is a...

Sunday, October 4, 2020

, ,

fput() program in C programming language

 fput() function in c programming is a file string function which is used to print a string to the file.fput() function use two arguments pointer one of them is used for string and other one for file. A null terminated string pointed by str in to a file.A null character is not written into...

Saturday, October 3, 2020

Friday, October 2, 2020

, , ,

strchr function in c with program example

strchr example in cstrchr function in c programming find the first appearance of the character in the string. strchr function in c with program example    The character in c programming function can be null character (/0) and the ending null char. also include in this string search.  A...