Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


difference between string and array?

Answers were Sorted based on User's Feedback



difference between string and array? ..

Answer / manju

string: its an array of any number of characters:

array:"its an collection of similar data items"-in the sense
ats collection of not only charecters even we can store
numbers.....

Is This Answer Correct ?    11 Yes 1 No

difference between string and array? ..

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

difference between string and array? ..

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

difference between string and array? ..

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

difference between string and array? ..

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

difference between string and array? ..

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

Post New Answer

More C Interview Questions

write a c program to find biggest of 3 number without relational operator?

12 Answers   TCS, Wipro,


What is the acronym for ansi?

0 Answers  


int *a[5] refers to

12 Answers   TCS,


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)

0 Answers  


If fflush wont work, what can I use to flush input?

0 Answers  


Write code for atoi(x) where x is hexadecimal string.

5 Answers   Adobe,


what type of language is C?

13 Answers   Microsoft,


how to estimate the disk access time? e.g. the time between read one byte and another byte in the disk.

3 Answers   Google,


What will be the output of following program #include main() { int x,y = 10; x = y * NULL; printf("%d",x); }

1 Answers  


What does #pragma once mean?

0 Answers   Celstream,


what are the advantages & disadvantages of unions?

2 Answers  


Is main is user defined function?

0 Answers  


Categories