Search:

Type: Posts; User: anduril462

Search: Search took 0.02 seconds.

  1. Replies
    4
    Views
    16,256

    Looks better. I'll trust that it works. Calling...

    Looks better. I'll trust that it works. Calling exit(-1) amounts to the same thing as returning -1 from main, in terms of the value passed back to the shell (yep, the return value of main or the...
  2. Replies
    4
    Views
    16,256

    Compile with warnings turned all the way up: ...

    Compile with warnings turned all the way up:


    $ gcc -Wall -g reverse.c -o reverse
    reverse.c: In function ‘main’:
    reverse.c:29: warning: left-hand operand of comma expression has no effect...
Results 1 to 2 of 2