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

Is it better to use malloc() or calloc()?

1106


Explain what is page thrashing?

1090


how to write a c program to print list of fruits in alpabetical order?

2291


What are the advantages of the functions?

1158


Why do we write return 0 in c?

1046


Wt are the Buses in C Language

3213


How many levels of indirection in pointers can you have in a single declaration?

1083


Are the variables argc and argv are local to main?

1312


what are bit fields? What is the use of bit fields in a structure declaration?

2117


What is sizeof return in c?

1031


What is the value of h?

1037


Explain what is the difference between the expression '++a' and 'a++'?

1212


List the variables are used for writing doubly linked list program.

2024


in any language the sound structure of that language depends on its a) character set, input/output function, its control structures b) character set, library functions, input/output functions its control structures c) character set, library functions, control sturctures d) character set, operators, its control structures

1203


my project name is adulteration of chille powder.how can i explain it to the hr when he asks me about the project?

1586