answersLogoWhite

0

What symbol or character determines end of string?

Updated: 9/22/2022
User Avatar

UdayNarrafb6375

Lvl 1
9y ago

Best Answer

In C Programming language, a string is an array of characters which is always terminated by a NULL character: '\0'

User Avatar

Wiki User

9y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What symbol or character determines end of string?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Which character in string is used to end the string?

Character zero (the byte with the decimal value zero) is sometimes used to end a string. But in other cases, the size of the string is stored at the beginning of the string, and there is no end-of-string character. This allows any character to be included in the string.


Why do you need a terminating null character at the end of the every string in C programming?

Because the null character represents the end of the string.


What symbol is used to mark the beginning and end of a string?

quatation


What is null character and what is its use in context of string?

null character exists at the end of the string.It denotes the end of it.


What would you use to terminate the string that is a character array?

If you use a declaration like:char arr[] = "blablabla";It already has a terminating symbol such as '\0'. As result your array has + 1 element. You can use '\0' to check that you have reached the end of a string.


What symbol is at the beginning and end of a string?

Depends on the programming language you are working with ..... Most use the symbol " or '


How many constructors are there for the string class?

The String class has multiple Constructors. Some of them are: 1. String - new String(String val) 2. Character Array - new String(char[] array) 3. Character Array with index positions - new String(char[] array. int start, int end)


Write a program to concate the string without using strconcat function?

If you don't need to preserve the first string you could just iterate over the second string and copy each character onto the end of the first string, then return that


Which nonprinting character marks end of a cell?

is a symbol used to show where cell contents stop.


When one dimensional character array of unspecified length is assigned an initial value?

string[] str= new string[2]{"ss","gg"} for(int i=0;i<str.length;i++) { Response.wrirte(str[i]); }


How can a stack determine if a string is a palindrome?

foreach char in string push on to stack create new string foreach char in string pop off and add to end of new string if new string equals old string palindrome else not palindrome //when you pop off the stack, the characters come off in reverse order, thus you have reversed the original string


Why do you need a null terminating string at the end of each string?

to indicate end of string