Search:

Type: Posts; User: osmosis

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    1,442

    k, then how about this. How come the first...

    k, then how about this. How come the first example works and the second crashes? Line 10 is the only variation between the two.

    Example 1:

    <code>
    #include <stdio.h>

    void update(char...
  2. Replies
    3
    Views
    1,442

    character pointer question

    The following code compiles fine. How come it core dumps when I run it?

    It works when I remove the asterisk in front of the buffer variable on the 5th line. Shouldn't I always use the asterisk...
Results 1 to 2 of 2