answersLogoWhite

0

First of all numbers are not meant to be stored in a string and if u do so in C, these numbers will be treated as characters and you can not perform any calculation on these numbers, and to find the number of characters in a string use the strlen() from the string.h file.

User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

What is a string of characters associated with a file to help find a document?

The Search Key


Find out the square root for that given number using string?

Halv that given number,Make a square that has that half number as the length of a side.Stretch the string across the diagonal of the square from corner to corner.The length of the string is the square root of the given number


How do you find the volume of a formula?

A formula is a string of letters and numbers and other mathematical characters. It has no volume.


How to write A Java program to print number of digits in a given number?

One way to do this is to convert the number to a String, then use the corresponding String method to find out the length of the String.


How do you write c programme to find proper subset of a given string?

you can use strstr()


Do I need to write a program to find a substring in a given string in c plus plus?

No.


How do you write a program to find the no of words in a given string in dot net?

You find a language that can be targeted towards the .NET Framework. What you are suggesting is something related to string manipulation and you can work with delimiters.


How do you find duplicate character in string?

To find duplicate characters in a string, you can use a set to track characters you've encountered as you iterate through the string. For each character, check if it already exists in the set; if it does, it's a duplicate. If it doesn't, add it to the set. Alternatively, you can use a dictionary to count occurrences of each character and identify those that appear more than once.


Where can one download character counter software?

Character Counter is an application that counts the number of characters in any given string. There are several places one could find this online such as Tucows Downloads, Any Count, Ginstrom or Practiline.


What are 6 meaning characters in search string in Linux?

I know 5! -Test -Links -Set -Find -ISpell


Wap in c plus plus to find out the string is palindrome or not in?

use the strrev() function on the given string and compare with original string.If both are equal they are palindromes else not.


How do you count the number of words in a string?

To find the length of the string we use length method. The length property returns the length of a string (number of characters we use).The length of an empty string is 0. For example: function myFunction() { var str = "Hello World!"; var n = str.length; Hope this hepls.