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 / afaquie ahmed siddiqui

in case character array,each character is located at
contiguous memory location,we can not print them just by the
name.we have to apply some loop opration.
BUT in case of string,a BLOCK of memory is assign to whole
string,we can print them just by string name with %s.
like...
printf("%s",name of string);

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the difference between getch() and getche() in c?

992


What does *p++ do?

1019


Is printf a keyword?

1196


Write a program to use switch statement.

1126


In a header file whether functions are declared or defined?

1123


Is main a keyword in c?

1129


What is the difference between call by value and call by reference in c?

1159


What does c mean before a date?

1174


In c programming, explain how do you insert quote characters (? And ?) Into the output screen?

1238


What does char * * argv mean in c?

1053


How is = symbol different from == symbol in c programming?

1038


What is structure padding in c?

1127


Is fortran still used in 2018?

1038


What are the two types of functions in c?

1004


In which language linux is written?

1222