Skip to search.
  1. Home >
  2. All Categories >
  3. Computers & Internet >
  4. Programming & Design >
  5. Resolved Question
sunny sunny
Member since:
15 March 2008
Total points:
627 (Level 2)

Resolved Question

Show me another »

Write a program to input a string and print it in reverse order using C programming?

please,please, give me the answer as soon as possible to give.i am desperately waiting for it.i am new in programming.and please don't forget to give the answer in C not in c++.thank u all in advance.
AnalProgrammer by AnalProg...
A Top Contributor is someone who is knowledgeable in a particular category.
Member since:
28 March 2006
Total points:
69,672 (Level 7)
Badge Image:
A Top Contributor is someone who is knowledgeable in a particular category.

Best Answer - Chosen by Voters

If you are so interested in coputer science then why can you not write these programs yourself?

Write a C program to generate the Fibonacci series using Recursive function?
Write a C program which read a file containing some number.write even no. in even.txt & odd in odd.txt?
Assume str1,str2 & st3 are 3 string variables.write a program to copy content of str1 to str3 & joint in str2?
Write a program which will read a number and output it's octal and hexadecimal representations using C?
Write a program that will remove all blank lines from a file using C?
Write a program that will remove all blank lines from a file using C?
Write a program to accept the name,age&salary of 10 employees in array of structures.short this as per salary?
Write a program to accept 3 variables.print out the values an address these 3 variables using C?
Write a program to input a string and print it in reverse order using C programming?
100% 2 Votes
  • 1 person rated this as good

There are currently no comments for this question.

Other Answers (2)

  • KGS by KGS
    Member since:
    17 March 2009
    Total points:
    263 (Level 2)
    #include<stdio.h>
    #include<conio.h>
    void rev(char a[]);
    main()
    {
    char s[30];
    clrscr();
    gets(s);
    rev(s);
    getch();
    }
    int i=0;
    void rev(char a[])
    {
    if(a[i]=='\0')
    return;
    rev(a+(i+1));
    printf("%c",a[i]);
    }
    0% 0 Votes
    • 2 people rated this as good
  • DragonsOfWine by DragonsO...
    Member since:
    20 December 2008
    Total points:
    101,152 (Level 7)
    char string[100];
    printf("Please enter string:");
    scanf("%s", string);

    for (int offset = strlen(string) - 1; offset >= 0; offset--)
    printf("%c", string[offset]);

    printf ("\n")'
    0% 0 Votes
    • 2 people rated this as good

Answers International

Yahoo! does not evaluate or guarantee the accuracy of any user content on Yahoo! Answers. Click here for the Full Disclaimer.

Help us improve Yahoo! Answers. Tell us what you think.