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

void reverse(*str)
{
if(*str)
{
reverse(str+1);
putchar(*str);
}
}

Is This Answer Correct ?    58 Yes 51 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is structure important for a child?

1143


A collection of functions,calls,subroutines or other data a) library b) header files c) set of files d) textfiles

1229


C program to find all possible outcomes of a dice?

2409


What is a nested loop?

1178


What is use of pointer?

1163


Why is c so important?

1098


Is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?

1132


What is define c?

1154


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

2695


Describe newline escape sequence with a sample program?

1167


What is build process in c?

1202


What is null pointer in c?

1042


Explain is it valid to address one element beyond the end of an array?

1248


What is class and object in c?

1172


WHAT IS THE DEFINATION OF IN TECHNOLOGY AND OFF TECHNOLOGY ?

2429