Search:

Type: Posts; User: sonjared

Search: Search took 0.00 seconds.

  1. Replies
    3
    Views
    738

    On a slight tangent, the return value from main...

    On a slight tangent, the return value from main is an error code. Zero represents success and non-zero represents some code that the consuming process presumably recognizes. As such, returning either...
  2. Replies
    3
    Views
    738

    You are not getting output because there are no...

    You are not getting output because there are no output statements. Rather than returning the result from main, try printing it with printf. Returning from main simply terminates the program, and...
Results 1 to 2 of 2