answersLogoWhite

0

The two things she was comparing are (1) the baloon, and (2) herself.

The two things she was comparing are (1) the baloon, and (2) herself.

The two things she was comparing are (1) the baloon, and (2) herself.

The two things she was comparing are (1) the baloon, and (2) herself.

User Avatar

Wiki User

15y ago

What else can I help you with?

Continue Learning about Engineering

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


What is the difference between plc and fpga?

fpga and plc are two completely different things. FPGA( field programmable gate arrays) are building blocks of electronic sysytem where as plc are systems. Comparing these two is like comparing engine with car.


Explain strings are immutable in java with example?

Among other things, the immutability of a String give us a few guarantees: * A String will always be Thread-safe * Duplicate Strings can be multiple pointers to the same data (reduce memory footprint) * substring method is very fast (only need a pointer and an offset, no copying) See http://mindprod.com/jgloss/immutable.html for a full description.


C plus plus programme to compare strings?

#include<iostream> #include<string> int compare (const std::string& a, const std::string& b) { int n=1; std::string::const_iterator ai=a.begin(), bi=b.begin(); for (int n=1; ai!=a.end() && bi!=b.end(); ++ai, ++bi, ++n) { char ca = *ai; char cb = *bi; if (ca<cb) return n * (-1); if (cb<ca) return n; } if (ai==a.end() && bi==b.end()) return 0; if (ai==a.end()) return n * (-1); return n; } int main() { std::cout << "When comparing strings, zero indicates the two strings are equal.\n" << "A negative value indicates the first string is less than the second string.\n" << "A positive value indicates the first string is greater than the second string.\n" << "The absolute value indicates the characters that differ in the strings. Thus\n" << "-10 or 10 indicate that the 10th characters show a difference.\n" << std::endl; std::string x = "This is a string."; std::string y = "This is another string."; std::string z = "This is another."; std::cout << "String x = "" << x << """ << std::endl; std::cout << "String y = "" << y << """ << std::endl; std::cout << "String z = "" << z << """ << std::endl; std::cout << std::endl; std::cout << "compare(x,x) = " << compare(x,x) << std::endl; std::cout << "compare(x,y) = " << compare(x,y) << std::endl; std::cout << "compare(x,z) = " << compare(x,z) << std::endl; std::cout << "compare(y,x) = " << compare(y,x) << std::endl; std::cout << "compare(y,y) = " << compare(y,y) << std::endl; std::cout << "compare(y,z) = " << compare(y,z) << std::endl; std::cout << "compare(z,x) = " << compare(z,x) << std::endl; std::cout << "compare(z,y) = " << compare(z,y) << std::endl; std::cout << "compare(z,z) = " << compare(z,z) << std::endl; std::cout << std::endl; }


What do you mean by string in c language?

Character arrays or pointers to character are termed as strings in c language. Like:char arr[10] = {'s', 't', 'i', 'n', 'g'};char *pchar = "string";Above answer is the first answer for the questionBut there is a lot of difference between character array and string.string means a group of characters .And string is enclosed between double quotation marks i.e(" ") .Declaration of string is same as of char array ,which is as followschar str[20];And initialization is different from that of character arrayinitialization:-char str[7]={"vardhan"};

Related Questions

What is a simile for 'as full as'?

A simile for "as full as" could be "as full as a balloon about to burst." A simile is a figure of speech that compares two unlike things using the words "like" or "as." In this case, the simile emphasizes the extreme level of fullness by comparing it to a balloon that is completely inflated and on the verge of bursting.


When to use More or most?

Use most in a sentence when comparing more than two things but use more when comparing two things.


What 3 things can cause a string to have a deeper sound?

Length of the string, thickness of the string, tautness of the string.


Which words do authors use when comparing things?

like, as, or some comparing wordJL


what is the term that describes comparing differences between things?

The term that describes comparing differences between things is the word contrast.


How do you make a balloon girl out of a real girl?

You have to go to clown school and learn how to make balloon animals and then slowly work your way up to making real things into balloon things.


Where can I find inexpensive balloon services?

www.balloons4you.com is an excellent choice for all your balloon needs. They offer balloon decorations, balloon sculptures, and custom balloon decorations among other things.


What does simile and metaphors mean?

Metaphor- comparing two things without using like or as. Simile- comparing two things using like or as.


Which graph shows that you are comparing things?

All graphs compare things.


How do you do t charts?

its comparing 2 things


What are some creative things to make out of string?

Some creative things to make out of string include friendship bracelets, macrame wall hangings, dream catchers, and string art.


What graph would be best for comparing?

If they things you are comparing part of a whole, pie graph. If not, bar graph.