C++ Syntax Question: Download Basic C++ Syntax PDF

What is C strings syntax?

Tweet Share WhatsApp

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

Download Basic C++ Syntax PDF Read All 27 Basic C++ Syntax Questions
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?