What type of data is held in a string?

1 answer

Answer

1215814

2026-04-17 23:30

+ Follow

String in C is basically a Character 1-D array, whose last character is a NULL ['\0'].

It is declared as follows:

char array_name[size];

Ex.

char wiki[10];

ReportLike(0ShareFavorite

Copyright © 2026 eLLeNow.com All Rights Reserved.