Search:

Type: Posts; User: sean

Search: Search took 0.04 seconds.

  1. Thread: Primary Questions

    by sean
    Replies
    29
    Views
    2,007

    When you use just the name of an array as an...

    When you use just the name of an array as an argument to a function, it will pass in a pointer to the 0th element of the array.

    A c-style string is an array of characters, with the convention of...
  2. Thread: Primary Questions

    by sean
    Replies
    29
    Views
    2,007

    You don't have to use fgets(). scanf() may suit...

    You don't have to use fgets(). scanf() may suit your needs better. But you definitely should not be using gets(), because it is vulnerable to buffer overflows, and fgets gives you enough control to...
Results 1 to 2 of 2