answersLogoWhite

0

int i = 0;

while(str[i] != NULL){

i++;

}

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

How do you find the length of string without using strlen function in MySQL?

SELECT char_length (...) FROM ...


Find length of the string without using loops and control structures?

length = strlen(string);


Reverse of a string without using string handling function?

shashi


How do you find the length of string without using the strlen function in PHP?

$str = "Hello"; $nameArr=str_split($str); print_r($nameArr); echo "length: ".count($nameArr);


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);


Concat a string without using any inbuilt function in java?

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


How can find the length of a string in java without using fun?

Use length() method. Example: "java".length();


How do you get the length of an ANSI string using PHP?

$string ="Guess my length"; $length = strlen($string); now the $length will have the length of the string.


How do you scramble a string in java?

Take out one letter, using a random number. Then replace the string with the new string, without the extracted letter. Repeat, until the remaining string has a length of zero. The extracted letters get added to a new string.Take out one letter, using a random number. Then replace the string with the new string, without the extracted letter. Repeat, until the remaining string has a length of zero. The extracted letters get added to a new string.Take out one letter, using a random number. Then replace the string with the new string, without the extracted letter. Repeat, until the remaining string has a length of zero. The extracted letters get added to a new string.Take out one letter, using a random number. Then replace the string with the new string, without the extracted letter. Repeat, until the remaining string has a length of zero. The extracted letters get added to a new string.


Write a Program to convert decimal number into hexadecimal no without using function and string?

This is not a question.


Is it possible to convert a string into integer without using any function in c?

Yes


Weite a your own progrem to find a length of string without using library function?

int mystrlen (char* str) { int len = 0; while (*str++ != '\0') len++; return len; }