Search:

Type: Posts; User: echo1525

Search: Search took 0.00 seconds.

  1. Replies
    3
    Views
    5,245

    Finding a common suffix

    I am a new C programmer, so I imagine my errors are fairly obvious. I am trying to use this program to find a common suffix between two words, starting from the end (destination and procrastination...
  2. Program to reverse a string--segmentation fault!

    #include <stdio.h>
    #include <string.h>
    #include <stdlib.h>


    int
    main(void)
    {
    char* original = (char*) malloc(80 * sizeof(char));
    char reverse[80];
Results 1 to 2 of 2