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 ur strangth & weekness

2525


write a program to find out prime number using sieve case?

2137


how do you execute a c program in unix.

1158


Can the sizeof operator be used to tell the size of an array passed to a function?

1176


Write a program to swap two numbers without using third variable?

1349


What is a keyword?

1219


What does stand for?

1141


How can you be sure that a program follows the ANSI C standard?

1656


Explain what is the stack?

1157


write a c program to find the largest and 2nd largest numbers from the given n numbers without using arrays

2288


What are loops c?

1101


How can you call a function, given its name as a string?

1209


Explain the use of fflush() function?

1132


What is the benefit of using an enum rather than a #define constant?

1319


Why pointers are used?

1116