Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Closed Thread
Old 04-07-2005, 12:06 PM   #1 (permalink)
 
True Techie

Join Date: Dec 2004

Posts: 145

Mohan Giri

Default C Programming

In how many ways we can reverse a number or string? What are the methods?
Mohan Giri is offline  
Old 04-07-2005, 12:20 PM   #2 (permalink)
 
Ultra Techie

Join Date: Sep 2003

Location: Bamberg, Germany

Posts: 549

Iron_Cross

Send a message via ICQ to Iron_Cross Send a message via MSN to Iron_Cross Send a message via Yahoo to Iron_Cross
Default

I don't think there are any methods or functions for this, you'd just have to loop through the string from last to first.
__________________

See today\'s Penny-Arcade!(May contain foul lanuage)
Pain is weakness leaving the body.

PM Me for my MSN
Iron_Cross is offline  
Old 04-08-2005, 11:34 PM   #3 (permalink)
 
Newb Techie

Join Date: Apr 2005

Posts: 8

ashishjha54

Default

you can do this in many ways 1. begineer's way ,through array, through pointers and many others.
ashishjha54 is offline  
 
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On