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 |
Describe the difference between = and == symbols in c programming?
What is the sizeof () operator?
What ios diff. Between %e & %f?
Does c have enums?
What is an lvalue?
What are reserved words with a programming language?
What is a 'null pointer assignment' error? Explain what are bus errors, memory faults, and core dumps?
What are local static variables? How can you use them?
what is data structure.in linear and non linear data structures which one is better?Explain
How do you define a function?
who developed c and why he developed c?
What is the data segment that is followed by c?