How do you declare a string?

Below is the basic syntax for declaring a string. char str_name[size]; In the above syntax str_name is any name given to the string variable and size is used to define the length of the string, i.e the number of characters strings will store.

Sizin İçin Seçtik  What == means in Java?

Leave a Reply

Your email address will not be published. Required fields are marked *

How do you declare a string?

Below is the basic syntax for declaring a string. char str_name[size]; In the above syntax str_name is any name given to the string variable and size is used to define the length of the string, i.e the number of characters strings will store.

Sizin İçin Seçtik  How much faster is 5G than 4G Verizon?

Leave a Reply

Your email address will not be published. Required fields are marked *