IT Questions and Answers :)

Tuesday, December 24, 2019

What is a 'string' when referring to types of data?

What is a 'string' when referring to types of data?

  • A material for sewing.
  • A sequence of characters.
  • A linked list of numeric values.
  • An array of threads. 

EXPLANATION

A string is a data type used in programming, such as an integer and floating point unit, but is used to represent text rather than numbers. It is comprised of a set of characters that can also contain spaces and numbers. For example, the word "hamburger" and the phrase "I ate 3 hamburgers" are both strings.

 


Share:

0 comments:

Post a Comment

Popular Posts