Thursday, December 17, 2020

, , ,

fopen function in c programming with it's example

 fopen c function is used to open a file which is denoted by the file name in c programming.Syntax for fopen function in c : - FILE *fopen(const char *filename, const char *mode) Parameters For for fopen c : - filename : - this element contain the file name which is going to be open. Mode...
, , , ,

Typecast Functions Like atoi in c,atof, itoa, atol more

 atoi in c is used to convert the string data type into int data type. atoi function in c  Syntax for atoi in c:- int atoi (const char * str); atoi in c function in c is used with the “stdlib.h” header file Well this function is also known as the typecast functions in C.Example program...

Sunday, December 6, 2020

Friday, December 4, 2020

, ,

Understand the extern in c with extern c example

 extern keyword in C is used when we have multiple source file and we want to shear the variable among those files.Or when we prefixing a global variable with the extern keyword in C that's mean we are telling to the compiler that the variable is already defined in other file.That's means don't...

Thursday, December 3, 2020

, , , ,

strtok Fucntion in c with example Program for strtok

 strtok function in c programming will help you to give the token of given input.This kind of function (strtok in c ) is very useful which reduce the length of c program. strtok Use of the strtok function in cstrtok is an inbuilt function which is part of the <string.h> c header...

Tuesday, December 1, 2020

,

Example program for map() function in python

 map() function in Python applies a given function to every item of an iterable and give a list of results.Syntax:- map(function, iterable, ...)Parameter For map() function in python map() function use two Parameter these are follow : -  function is a first Parameter map() function...