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

How to reverse a String without using C functions ?

Answer Posted / neelu

#include<stdio.h>
#include<string.h>
main()
{
char a[10],b[10];
int i,l;
printf("enter the string to be reversed");
scanf("%s",a);
l=strlen(a);
for(i=0;i<l;i++)
b[i]=a[l-1-i];
b[i]='\0';
printf("%s",b);
}

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Develop a routine to reflect an object about an arbitrarily selected plane

3615


Write a Program in 'C' To Insert a Unique Number Only. (Hint: Just Like a Primary Key Numbers In Database.) Please Some One Suggest Me a Better Solution for This question ??

2476


why nlogn is the lower limit of any sort algorithm?

2850


write a program for area of circumference of shapes

2573


What is data _null_? ,Explain with code when u need to use it in data step programming ?

3347


Cluster head selection in Wireless Sensor Network using C programming language.

3746


Sir... please give some important coding questions asked by product companies..

2263


Design an implement of the inputs functions for event mode

3524


how to create a 3x3 two dimensional array that will give you the sums on the left and bottom columns

3647


What is full form of PEPSI

2422


Can you send Code for Run Length Encoding Of BMP Image in C Language in linux(i.e Compression and Decompression) ?

4406


What is the match merge ? compare data step match merge with proc sql merge - how many types are there ? data step vs proc sql

2912


What is the difference between proc means and proc tabulate ? explain with a simple example when you have to use means or tabulate?

4530


How can you relate the function with the structure? Explain with an appropriate example.

3450


could you please send the program code for multiplying sparse matrix in c????

3587