what is a string and how can we declare a string
Answers
Answered by
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
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