Ask Question

Name:
Title:
Your Question:

Answer Question

Name:
Your Answer:
User Submitted Source Code!


Description:
  helo
Language: C/C++
Code:
#include <stdio.h>
int main()
{
     int i;
     char str1[10]="nitin"; 
     char str2[10]=" ";
     int len;
     len=strlen(str1);
     for(i=len-1;i>0;i--)
     {
          str2[i]=str1[i];
          printf("%c",str2[i]);
     }
     getchar();
     return 0;
}
          
          
Comments: