Monday, December 21, 2020

, ,

r plot program example and how to use it.

 R Plot Function is used to plot a graph in r programming in this r function we can vector and then we get a graph which is about  magnitude vs index.r plot function has so many method which is called according to the passed value to this r plot function.For example we pass two vector plot(c(1,2),c(3,5))...

Friday, December 18, 2020

,

Use of clrscr function in c with example

 clrscr function in C programming is use to clear the screen and move the arrow upper left-hand corner of your computer screen.this function work only for the GCC compiler otherwise use clear/cls command. Example program for clrscr function in c #include<stdio.h> #include<conio.h> int main() { printf("Press any key to clear the screen.\n"); getch(); clrscr(); printf("This...
,

Example program for pow function in c

 pow function c programming is use to computer the power of a given number to the function.pow() c function takes two arguments first one is known as base and second one as power value and pow() c function return a base with the power raised to that base number.Syntax for pow() c [Mathematics]...
, ,

Example program for strcat() function in c

 If you have a computer programming background then we believe you heard the name of concatenation this word in programming language is known for joins to strings.Example program for strcat() function in c Here in c language strcat() function in c use to joins two given string in c programs. Syntax...

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