C++ Syntax Question:
Download Questions PDF

What is C strings syntax?


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];

Download Basic C++ Syntax Interview Questions And Answers PDF

Previous QuestionNext 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?