Q04: What is String?
Answers
Answered by
2
Answer:
I hope it's help you.
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.
Answered by
1
In C programming, a string is a sequence of characters terminated with a null character \0 .
For example: char c[] = "c string"; When the compiler encounters a sequence of characters enclosed in the double quotation marks, it appends a null character \0 at the end by default.
Similar questions