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

write an algorithm to get a sentence and reverse it in the
following format:
input : I am here
opuput: Here Am I
note: first letter of every word is capiatlised

Answer Posted / debasis patnaik

ALGO:1.TAKE A STRING STR1
2.REVERSE IT BY STRREV(STR1)
3.CONCANICATE WITH SPACEBY STRCAT(" ",STR1)AND ASSIGN TO STR2
4.IF(STR2[I]==" ")
{
(ISUPPER(STR2[I+1])))
PRINT(STR(2)
5.END

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which operators cannot be overloaded a) Sizeof b) .* c) :: d) all of the above

1111


write a program to print data of 5 five students with structures?

2013


Describe the steps to insert data into a singly linked list.

1034


How can I access an I o board directly?

1048


Explain is it better to bitshift a value than to multiply by 2?

1154


Explain about the functions strcat() and strcmp()?

1004


What are the various types of control structures in programming?

1024


What are the different types of C instructions?

1269


What does == mean in texting?

1237


What do you know about the use of bit field?

1006


What is null pointer constant?

1087


Is c is a high level language?

1146


What are the functions to open and close file in c language?

1147


Explain how can I avoid the abort, retry, fail messages?

1006


What is pointer to pointer in c language?

1072