interview questions and answers

Technical Interview Questions | DataStructure Interview Questions

Home interview questions Programming interview questions DataStructure 
Friday, 10 September 2010
Main Menu
Home
Online Test
Contest
Search
Submit
FAQs
Testimonial
Contact Us
Login
Most Popular Category
JAVA

Microsoft Technologies
ASP, C#, DotNet, ...

Programming
C++, PHP, VB, ...

SAP

Testing

Web Technologies

Polls
Does personal networking help in job search?
 
IT Placement Papers interview questions Programming interview questions DataStructure

This category contains DataStructure Interview Questions and Answers


Reverse a string

PDF Print E-mail


void ReverseString (char *String)
 {
    char *Begin = String;
    char *End = String + strlen(String) - 1;
    char TempChar = '{xtypo_info}
void ReverseString (char *String)
 {
    char *Begin = String;
    char *End = String + strlen(String) - 1;
    char TempChar = '\0';

        while (Begin < End)
        {
            TempChar = *Begin;
            *Begin = *End;
            *End = TempChar;
            Begin++;
            End--;
        }
  }
{/xtypo_info}';

        while (Begin < End)
        {
            TempChar = *Begin;
            *Begin = *End;
            *End = TempChar;
            Begin++;
            End--;
        }
  }




Be first to comment this article

Only registered users can write comments.
Please login or register.

 
< Prev   Next >

Technical Interview Questions | DataStructure Interview Questions

Top!
Top!
Copyright © 2008 InterviewDuniya.com All Rights Reserved.
Partner Site: Maheshwari Matrimony