|
@@ -6942,7 +6942,7 @@ To declare a place to store a non-constant string, declare an array of
|
|
for the terminating null. For instance,
|
|
for the terminating null. For instance,
|
|
|
|
|
|
@example
|
|
@example
|
|
-char text = @{ 'H', 'e', 'l', 'l', 'o', 0 @};
|
|
|
|
|
|
+char text[] = @{ 'H', 'e', 'l', 'l', 'o', 0 @};
|
|
@end example
|
|
@end example
|
|
|
|
|
|
@noindent
|
|
@noindent
|
|
@@ -6951,7 +6951,7 @@ and the terminating null character. An equivalent way to get the same
|
|
result is this,
|
|
result is this,
|
|
|
|
|
|
@example
|
|
@example
|
|
-char text = "Hello";
|
|
|
|
|
|
+char text[] = "Hello";
|
|
@end example
|
|
@end example
|
|
|
|
|
|
@noindent
|
|
@noindent
|