answersLogoWhite

0

strlen(s1) to find the length of the string s1

strcpy(s1,s2) copy source string to destination string(i.e copies s2 to s1,s2 remain unchanged)

strcmp(s1,s2) compares s1 and s2 and prints 0 if s1 and s2 are equal,-1 if s2 is greater, 1 if s1 is greater

strcat(s1,s2) combines string s1 and s2 to a single word and stores it in s1

strupr() converts lower case string to upper case

strlwr() converts upper case string to lower case

User Avatar

Wiki User

13y ago

What else can I help you with?

Continue Learning about Engineering

When is exception handling necessary for stream handling?

Exception handling is necessary for string handling as there might be some unexpected situation during string handling which may lead to program crash or abrupt termination


Which string function appends source string to the destination?

The string function that appends a source string to a destination string is typically called strcat in C and C++. This function takes two arguments: the destination string and the source string, and it appends the source string to the end of the destination string, modifying the destination string in place. In other programming languages, similar functionality may be achieved with functions like concat or the + operator for string concatenation.


String handling function in c?

In C, string handling functions are primarily found in the <string.h> library, which provides various utilities for manipulating strings. Common functions include strlen() for determining the length of a string, strcpy() for copying one string to another, strcat() for concatenating two strings, and strcmp() for comparing two strings. These functions operate on null-terminated character arrays, which are the standard way to represent strings in C. Proper memory management is essential when using these functions to avoid buffer overflows and undefined behavior.


Concat a string without using any inbuilt function in java?

Use "+". Example: String string = "does this answer " + "your question?";


What function returns the length of a string?

strlen

Related Questions

Reverse of a string without using string handling function?

shashi


Define string handling function?

Penis


When is exception handling necessary for stream handling?

Exception handling is necessary for string handling as there might be some unexpected situation during string handling which may lead to program crash or abrupt termination


Geta is a math function or string function?

GetA is a math function and not a string function.


What is the function of pre-defined function LEN in Excel?

The LEN function returns the length of the specified string.=LEN(text)text is the string to return the length for.EXAMPLE:=LEN(word) will return the value of 4.


Which is string function starchy or strlength?

The string function is strlength and it is evoked to return the length of a string.


How do you reverse a string in PHP without using a function?

Without any function is impossible. So I'll assume you mean any coded function, in which case the predefined function below is your answer.$string = strrev($string);


Which string function appends source string to the destination?

The string function that appends a source string to a destination string is typically called strcat in C and C++. This function takes two arguments: the destination string and the source string, and it appends the source string to the end of the destination string, modifying the destination string in place. In other programming languages, similar functionality may be achieved with functions like concat or the + operator for string concatenation.


What function are used for string length in visual basic?

string length is a function use to check the lenght of a string i.e number of alphabets in a word or sentence.


How string can be passed to a function in c?

between parentheses: funname ("string")


Which text function replaces text in a string?

The REPLACE function.


Concat a string without using any inbuilt function in java?

Use "+". Example: String string = "does this answer " + "your question?";


Write the function replace which finds the string from in the string string and replaces it with the?

Hay buddy this is homework. U have to solve it by urself.


What function returns the length of a string?

strlen


What function returns the number of occurrences of a specified character in the input string?

The charAt function returns the number of occurrences of a specified character in the input string.


How do you accept a string by using getch() function with an example?

explain about function call


Function finds the occurrence of a given string in another string?

in C: strstr, declared in string.h


Which function joins one string with another to produce single string that contains both?

strcat()


How can you call a function given its name as a string?

we have to construct a table of two field structures,where the first field is the funtion name as a string and the second field is just the function name.then search the table to get a string match in the first field and use the second field to call the function.


What text function capitalize the first letter of a string of data?

The capitalize() function in Python can be used to capitalize the first letter of a string. It returns a copy of the string with the first letter capitalized and all other letters in lowercase.