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)
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.
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
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
str(3.1415)
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);
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.
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.
shashi
between parentheses: funname ("string")