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 |
printf("%d",(printf("Hello")); What it returns?
how to implement stack operation using singly linked list
How do you initialize pointer variables?
write a Program to dispaly upto 100 prime numbers(without using Arrays,Pointer)
26 Answers ADITI, iFlex, Infosys, Oracle, TCS, Unicops, Wipro,
Define recursion in c.
Is c language still used?
What are c identifiers?
Can we initialize extern variable in c?
What does 1f stand for?
Explain what does the format %10.2 mean when included in a printf statement?
if p is a string contained in a string?
What are the different flags in C? And how they are useful? And give example for each in different consequences?