Search:

Type: Posts; User: std10093

Search: Search took 0.02 seconds.

  1. Replies
    3
    Views
    1,571

    If i was a beginner and wanted to use your...

    If i was a beginner and wanted to use your instructions i might write something like this


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

    int main(void)
    {
    char* strPointer;
  2. Replies
    3
    Views
    1,571

    You do not allocate memory for the name.You...

    You do not allocate memory for the name.You should do it with malloc.
    Also in the print function notice that you have i<2 and not i<3
Results 1 to 2 of 2