Skip to content

Commit 5407c65

Browse files
author
mikeblome
committed
fixed code formating
1 parent 0a3f77f commit 5407c65

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/cpp/arrays-cpp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ An array is a sequence of objects of the same type that occupy a contiguous area
1010

1111
An array is initialized by using the [] operator after the variable name. The number of elements must be specified with a constant value. Individual elements in the array are accessed by the same [] operator.
1212

13-
``cpp
13+
```cpp
1414
int i[100] {0}; // an array of 100 ints all initialized to zero
1515
MyClass* [12]; // an array of 12 pointers to MyClass
1616
i[0] = 256; // assign the value 256 to the first element in the array

0 commit comments

Comments
 (0)