answersLogoWhite

0


Best Answer

No.

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: It is required to use an address operator when you accept an input for a string?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

C coding for operator overloading?

C does not support operator overloading. If you mean C++ operator overloading, it depends on exactly what you wanted to do. If you wanted to '+' to strings, then you could write: string operator+(string a, string b) { // do something }


What is the role of plus operator between two string constant?

The plus operator between string constants allows string concatination: string a = "Hello, "; string b = "World!"; string c = a + b; The output of c would be: "Hello, World!".


Operators in string?

Yes, a string can contain operator symbols, eg: const char *s= "+*-/";


What is string class features in java?

String class is useful to accept inputs from commands prompt as string arguments


Why and operator can not be used in string of c program?

Any character can be used in string, except for \\0. char example [] = "A&B|C";


Which operator is used in character string comparisons with pattern matching?

select *from emp


How do you convert a character into a string?

A string is, by definition, a character array. No conversion is required.


Why address operator is not used in the case of string input If No What is the reason?

I guess by 'string' you mean a character-array; so the answer is: an array in itself is a pointer to its first element: arr==&arr[0]. (Note: it is a pointer-constantant, not a pointer-variable, so you cannot change it's value: 'arr= something' is wrong.)


How do you convert a string into a character array?

A string is, by definition, a character array. No conversion is required.


What is a operator overriding in java?

Java does not support object overriding. It does support operator overloading by means of the "+" symbol which is used for both numeric addition as well as string concatenation.


Why does Java accept any input as string by default?

Java doesn't always accept any input as a string it only do that when the input is entered from the " JOptionPane.InputDialog" but it can accept any other data type like integer or short from the console though Scanner class .


In Java what operator is used to determine if an object is of a particular class type?

The instanceof keyword is used to determine if an object is of a particular class type.Example:Object obj = new String();if(obj instanceof String) {System.out.println("obj is a String!");}