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 c program to find biggest of 3 number without relational operator?
What is the acronym for ansi?
int *a[5] refers to
GIven a sequence of characters. How will you convert the lower case characters to upper case characters. ( Try using bit vector - sol given in the C lib -> typec.h)
If fflush wont work, what can I use to flush input?
Write code for atoi(x) where x is hexadecimal string.
what type of language is C?
how to estimate the disk access time? e.g. the time between read one byte and another byte in the disk.
What will be the output of following program #include main() { int x,y = 10; x = y * NULL; printf("%d",x); }
What does #pragma once mean?
what are the advantages & disadvantages of unions?
Is main is user defined function?