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 is the difference between these initializations? Char a[]=”string”; Char *p=”literal”; Does *p++ increment p, or what it points to?
Explain Basic concepts of C language?
Describe dynamic data structure in c programming language?
Find string palindrome 10marks
5 Answers Honeywell, Infosys, Riktam, Roland,
main is a predefined or user define function if user defined why? if predefined whay?
What is difference between scanf and gets?
Can anyone help me with this please? Need to print the below values.. Thanks 1 1 2 1 2 3 1 2 3 4
Difference between null pointer and dangling pointer?
What is the right way to use errno?
What are pointers really good for, anyway?
Diff between for loop and while loop?
Is int a keyword in c?