Computer Science, asked by nitin9622, 1 year ago

what is a string and how can we declare a string

Answers

Answered by Anonymous
1
Hey mate here is your answer....

string is a collection of alphabets or characters ...

it can be declared by array...

e.g., for c++ it is declared as char str[20]
the general syntax is char str_name[size];

hope it helps you
Similar questions