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 / dally

#include<stdio.h>
#include<conio.h>

int main()
{
char array1[] = "STRING FOR TESTNG";
char array2[20],i=0;
int count;
count = strlen(array);
for(count;count>1;count--)
{
array2[i]= array1[count];
i++;
}
printf("%s\n",array2);

}

Is This Answer Correct ?    0 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

write a program to print largest number of each row of a 2D array

2372


What is the benefit of using #define to declare a constant?

1146


What are external variables in c?

1162


What is function in c with example?

1225


Explain the difference between the local variable and global variable in c?

1131


FILE *fp1,*fp2; fp1=fopen("one","w") fp2=fopen("one","w") fputc('A',fp1) fputc('B',fp2) fclose(fp1) fclose(fp2)} a.error b. c. d.

1808


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

1102


What is time null in c?

1107


What is s or c?

1117


What is mean by data types in c?

1070


printf(), scanf() these are a) library functions b) userdefined functions c) system functions d) they are not functions

1214


Explain the array representation of a binary tree in C.

1279


Should I use symbolic names like true and false for boolean constants, or plain 1 and 0?

1125


How do I send escape sequences to control a terminal or other device?

1121


Explain how can I pad a string to a known length?

1249