answersLogoWhite

0

Strings are user defined data types which can store any type of data assigned to it with in double quotes(" "). They don't have a limit to their storage capacity like other data types,viz.,int byte long.

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

What is String Str?

Str is probably a String variable declared. Usually when we declare String objects we prefix it with the character str. example: String strName = "";


Variables declared using the string data type usually are initialized to the empty string?

Yes.


Function finds the occurrence of a given string in another string?

in C: strstr, declared in string.h


Who was King of the twelve string guitar?

Huddie William Ledbetter is the self-declared "King of the Twelve String"


Is String class a final class?

The core classes in the java.lang.* package (e.g. String, Integer, double, Boolean, etc.) are all declared final.


Do single-quoted string literals have any characteristics difference from those of double-quoted string literals?

The literals with single quotes are Characters and can have a width of only one. Ex: 'y' or 'a' etc Strings cannot be declared using single quotes. They have to be declared with double quotes.


What is return type of string in c?

In C programming, a string doesn't have a specific return type as it's essentially an array of characters. So, if a function is returning a string, it should be declared to return a pointer to a char (char*), since a string in C is represented as an array of characters terminated by a null character ('\0').


What are the valid signatures of the main method of a class?

The main method can be declared as either of the below: public static void main(String[] args) or public static void main(String args[])


What type of data is held in a string?

String in C is basically a Character 1-D array, whose last character is a NULL ['\0']. It is declared as follows: char array_name[size]; Ex. char wiki[10];


How string constants are declared in c?

Some strings are constants, others aren't; some constants are strings, other aren't. So these are unrelated things. Examples: "text" -- constant string 123 -- constant number char s[40] -- variable string


Why is Javascript referred to as a loosely typed language?

This is because, unlike Java, all variables are declared without a type.var a = 7; // Integervar b = "A string"; // String variableYou might notice a difference between this and Java. Java goes like this:int a = 7; // IntegerString b = "A string"; // StringIf you want more information, try the related link below.


What are the difference between null and undefined in Javascript?

EMPTY STRING-it is a unique string of length zero.the empty string is still a sring upon which strin operation may be attempted.NULL STRING-In programming ,a character string that contais no data.