Browsing category

function in C

Arithmetic function in C programming language

Arithmetic function in C programming language We will learn about Arithmetic function in C programming language In the C Programming language, the Arithmetic function is used for arithmetic calculations and manipulations. The arithmetic function is used for the arithmetic purpose in C Language C programming language contains a lot of header files for various purposes….

strcmp string function in C programming Language

strcmp string function in C programming Language We will learn about strcmp string function in C programming Language Description strcmp() – In the C Programming Language, the strcmp function is a comparison operator. It  compares two Strings and displays an integer value returns either negative, positive integer or zero   Declaration Syntax for strstr() function is given…

strstr string function in C programming language

strstr string function in C programming language In this tutorial, We will learn about the strstr string function in C programming language and its functionality. Description strstr() – In the c programming language, the strstr function is used to locate the first occurrence of the substring pointed by the str2 within str1 string. Declaration Syntax for…

strrchr string function in C programming Language

strrchr string function in C programming Language In this tutorial, We will learn about strrchr string function in C programming Language Description strrchr() –  In the C programming language, the strrchr functions find the last occurrence of the character within the String as denoted by character. Declaration Syntax for strrchr() function is given below char *strrchr(…

strncmp string function in C programming language

strncmp string function in C programming language In this tutorial, We will learn  about strncmp string function in C programming language Description strncmp() – In the c programming language, the strncmp() function returns a negative , Zero and positive integer depending on whether the first n character of the object pointed by str1 is less than,…

strchr string function in C programming language

strchr string function in C programming language In this tutorial, We will learn about strchr string function in C programming language strchr() – In C programming language strchr() string function, pointer displays the given character from its first occurrence. Declaration Syntax Syntax for strchr() function is given below char strchr( const char *str,int ch); Parameter or…

strdup string function in C programming language

strdup string function in C programming language In this tutorial, we will learn about strdup string function in C programming language Description strdub() – In C programming language, strdup string function is a predefined string function which is used to duplicate given string.   Declaration Syntax for strdub() function is given below: char strdup( const…

strlwr string function in C programming language

strlwr string function in C programming language In this tutorial, we will learn about strlwr string function in C programming language Description strlwr() – In the C programming language, this is used to Convert the string from any case to lower case   Declaration Syntax for strlwr() function is given below char strlwr ( char *string);…

strupr string function in C programming language

strupr string function in C programming language In this tutorial, we will learn about strupr string function in C programming language and its functionality. Description In C programming language strupr()  is a string function which is used to convert a given string from any case into uppercase. strupr() – this function is used to convert…

strtok string function in C programming language

strtok string function in C programming language In this tutorial, we will discuss strtok string function in C programming language strtok() -In C programming language, strtok()  used to breaks the token into a series of the string using the delimiter. Declaration Syntax The syntax of the strtok() function in the c language is : char…