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

Reverse a string word by word??

Answer Posted / vamsi

#include<stdio.h>
#include<conio.h>
void main()
{
char a[40],temp;
int count=0;
printf("enter the string :");
gets(a);
for(int i=40;a[i]!=a[1];i--)
printf (a[i]);
printf (a[1]);
}

Is This Answer Correct ?    1 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is define c?

1077


Why is python slower than c?

1089


how to execute a program using if else condition and the output should enter number and the number is odd only...

2300


Was 2000 a leap year?

1053


Is a pointer a kind of array?

1182


How are pointers declared in c?

1062


What is the right type to use for boolean values in c?

1032


What does %d do in c?

962


How to declare a variable?

1005


why wipro wase

2313


What is a shell structure examples?

1101


What does %p mean c?

1065


What are the two forms of #include directive?

1167


What are keywords in c with examples?

1087


What is ambagious result in C? explain with an example.

2634