in C: atof, strtod, sscanf
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
str(3.1415)
long float myfun();
The gcvt() function converts a floating-point number to a string. It converts given value to a null-terminated string.example....#include #include int main(void) { char str[25]; double num; int sig = 5; /* significant digits */ /* a regular number */ num = 9.876; gcvt(num, sig, str); printf("string = %s\n", str); /* a negative number */ num = -123.4567; gcvt(num, sig, str); printf("string = %s\n", str); /* scientific notation */ num = 0.678e5; gcvt(num, sig, str); printf("string = %s\n", str); return(0); }Output:string = 9.876string = -123.46string = 67800
Use "+". Example: String string = "does this answer " + "your question?";
Str converts a number to a string.
Nope Most string should float on top of water becomes the string material is less dense than he water.
GetA is a math function and not a string function.
The string function is strlength and it is evoked to return the length of a string.
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
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);
str(3.1415)
long float myfun();
string length is a function use to check the lenght of a string i.e number of alphabets in a word or sentence.
between parentheses: funname ("string")
shashi
The REPLACE function.