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 using a recursive function, without
swapping or using an extra memory?

Answer Posted / aravind

#Include<stdio.h>
void display(char*)
void main()
{
char str[]= "Aravind"
disply(str)
}
void display(char *p)
{
static int i=1;
if(*p=='\0')
{
display(p+i)
i++
}
printf("%c",*p)
}

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is array within structure?

1111


There is a practice in coding to keep some code blocks in comment symbols than delete it when debugging. How this affect when debugging?

1293


What is c language used for?

982


When do you not use the keyword 'return' when defining a function a) Always b) Never c) When the function returns void d) dfd

1056


what is the basis for selection of arrays or pointers as data structure in a program

4305


Explain argument and its types.

1058


Explain what is wrong with this program statement? Void = 10;

1256


What is the purpose of the preprocessor directive error?

1264


What is a buffer in c?

997


Can you explain what keyboard debouncing is, and where and why we us it? please give some examples

2188


A variable that is defined in a specified portion of a program but can be used throughout the program a) global variable b) local variable c) character d) none

1240


All technical questions

1985


What does %p mean c?

1063


What do you mean by keywords in c?

1143


Why is event driven programming or procedural programming, better within specific scenario?

2420