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...

what is difference between array of characters and string

Answer Posted / saumil

the compiler automatically puts a null character when we
insert a string...for eg "abc" for the compiler is "abc\0".
but for a array of characters we need to assign a place for
it..for eg a[15] contains 14 characters and a null
character('\0').

Is This Answer Correct ?    24 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is self-referential structure in c programming?

1154


Tell us the use of fflush() function in c language?

1097


What is c basic?

1134


What do the functions atoi(), itoa() and gcvt() do?

1144


How to declare pointer variables?

1178


What is structure in c language?

1111


how many key words availabel in c a) 28 b) 31 c) 32

1019


An organised method of depicting the use of an area of computer memory used to signify the uses for different parts of the memory a) swap b) extended memory c) memory map d) all of the above

1120


What is C language ?

1915


Explain why can’t constant values be used to define an array’s initial size?

1316


What is abstract data structure in c?

984


main() { inta=10,b=20; a>=5?b=100:b=200; printf("%d ",b); }

1469


What are the advantages of using macro in c language?

1081


Give me the code of in-order recursive and non-recursive.

1331


Describe newline escape sequence with a sample program?

1078