

InterviewSolution
Saved Bookmarks
1. |
Write a program to reverse a string. |
Answer» #include<iostream.h>#include<string.h>int main(){char str[10],temp;int i,j=0;Cout<<"Enter the string :";Cin.getline(str,10);i=0;j=strlen(str)-1;while(i | |