difference between string and array?
Answers were Sorted based on User's Feedback
Answer / teja
array : array is a collection of similar datatypes like
integer types or character types
string : string is a collection of characters of any size
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / gnaneshwar
In the C programming language a string is actually the same as an array of characters. The last character in a C string is a zero byte which indicates the end of the string.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / paramesh
a string is collection of characters but an array is
collection of similar data types
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / guest
string is a sequence of characters where as array is
collections of differnt strings which are having same data type.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / sonu
string:string is a collection of similar datatype,like
"sneha".
array:an array is a collection of different datatype,like
a[10].we can store charactor value as well as integer.
| Is This Answer Correct ? | 5 Yes | 7 No |
What are the different types of C instructions?
What is the data segment that is followed by c?
What is double pointer in c?
Explain low-order bytes.
What is a macro, and explain how do you use it?
What is data structure in c and its types?
Q.1 write aprogram to stack using linklist o insert 40 items? Q.2 write a program to implement circular queue with help of linklist?
What is zero based addressing?
What is the use of static variable in c?
Explain zero based addressing.
x=y=z=1 z=++x||++y&&++z Printf("%%%d";xyz) what is the values of x,y and z?????
How to delete a node from linked list w/o using collectons?