answersLogoWhite

0


Best Answer

Strings are a type of variable in computer programming.

Simply put, they contain multiple characters which are "strung" together to make a piece of text. "Test", "House", and "Hello World!" are all excellent examples of what might be contained in a string.

As a result, strings are used to store and convey any textual information.

User Avatar

Wiki User

12y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

7y ago

We need strings in C++ for the same reason we need strings in C, Pascal, Java and virtually every other non-trivial programming language. Without strings we wouldn't be able to store or manipulate text values, and text values are the primary means of communication between a program and its user.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What purpose do strings serve in programming?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What purpose does silicone serve in conditioners?

What purpose does silicone serve in conditioners


What purpose do braces serve in C programming?

grouping statements. eg: if (i==2) printf ("i=="); printf ("2"); and if (i==2) { printf ("i=="); printf ("2"); } do different things, if i<>2


What purpose does Sky Anytime serve?

Sky Anytime is part of a television subscription package. It enables high quality streaming and viewing of movies and programming on demand competitively with other such carriers.


What asp stand for programming language?

Active Serve Page


Processing is a programming language that was developed for what purpose?

The purpose of processing is to teach the basics of programming in a visual manner. It is also used as a "virtual sketchbook" of sorts.


What purpose do video games serve?

They serve the same purpose as T.V or movies. They are a form of entertainment.


What purpose do the acids serve in soda?

Serve as preservatives.


What purpose do coordinates serve on a grid?

The purpose is the toilet.


Is Fortran a general purpose programming language?

Yes.


What is the purpose of visual basic in project?

Programming, of course.


What is the purpose of java?

Curtly, portability and clean programming


What is the purpose of C plus plus?

Computer programming.