Definition change (#24081)
This commit is contained in:
committed by
Randell Dawson
parent
dd27baa31a
commit
720931c798
@ -2,7 +2,7 @@
|
||||
title: Arrays and Strings
|
||||
---
|
||||
# Arrays in C
|
||||
Arrays allow for a set of variables to be grouped together as one variable. This is useful in its own right, but also because strings fall into this category. Strings, which are how we represent words and sentences in computer languages, are just collections of character variables. Therefore, we represent strings using arrays in C.
|
||||
Arrays allow for a set of variables of the same type to be grouped together as one variable. This is useful in its own right, but also because strings fall into this category. Strings, which are how we represent words and sentences in computer languages, are just collections of character variables. Therefore, we represent strings using arrays in C.
|
||||
|
||||
## Making an Array
|
||||
A normal integer variable would be declared like so:
|
||||
|
Reference in New Issue
Block a user