C++ Syntax Question:
What is C strings syntax?

Answer:
Strings are arrays of chars. String literals are words surrounded by double quotation marks.
"This is a static string"
To declare a string of 49 letters, you would want to say:
char string[50];
"This is a static string"
To declare a string of 49 letters, you would want to say:
char string[50];
Previous Question | Next Question |
Do you know what are the new features that ISO/ANSI C++ has added to original C++ specifications? | How to access a variable of the structure? |