Computer Science, asked by jinnatunnesa2007, 17 days ago

How can you declare a fixed length string variable? Give example.

Answer shortly please​

Answers

Answered by ItzSofiya
2

Answer:

A string field or parameter may be defined at a specific length, by appending the number of characters to the type name (such as, STRING20 for a 20-character string). They may also be defined as variable-length by simply not defining the length (such as, STRING for a variable-length string

Explanation:

beautiful pic dear this is you?

Answered by riteshbjha2004
2

Please Mark Me As Brainlist

Answer:

To declare a fixed-length string, we should use the CHAR datatype. Here we do not have to specify a maximum length for a fixed-length variable.

Attachments:
Similar questions