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 |
write a program of palindrome(madam=madam) using pointer?
How can a program be made to print the line number where an error occurs?
write a program to find a given no. is divisible by 3 or not without using any arthimetic operators?
Explain Linker and Loader
What is c method?
What are the modifiers available in c programming language?
What is extern keyword in c?
c program to print a name without using semicolon
What are the features of the c language?
Explain how can you determine the size of an allocated portion of memory?
"%u" unsigned integer print the a) address of variable b) value of variable c) name of a variable d) none of the above
What are called c variables?