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 a C code
to reverse a string using a recursive function, without
swapping or using an extra memory.

Answer Posted / noone

/* this one is a copy of a earlier one posted i just made a
small adjustment */
void reverse(char *str)
{
if(*str)
{
reverse(str+1);
putchar(*str);
}
}

Is This Answer Correct ?    18 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain about the constants which help in debugging?

1371


Why is main function so important?

1101


Implement bit Array in C.

1138


what is a function method?give example?

2359


Is it acceptable to declare/define a variable in a c header?

1116


Explain what would happen to x in this expression: x += 15; (assuming the value of x is 5)

1283


Write a program to generate the Fibinocci Series

1232


What are the types of unary operators?

1183


What is a program flowchart and how does it help in writing a program?

1137


What is the maximum length of an identifier?

1184


Is c is a procedural language?

1090


Where can I get an ansi-compatible lint?

1145


What are identifiers and keywords in c?

1093


What is a pointer variable in c language?

1100


Can you think of a logic behind the game minesweeper.

2461