C file input/output: Difference between revisions

Content deleted Content added
adding table and note about "b"
embellishing table
Line 14:
{| class="wikitable"
|-
!colspan=3| mode || description || starts..
|-
|r || rb || || open for reading || beggining
|-
|w || wb || || open for writing (creates file needif notit doesn't exist). Deletes content and overwrites the file. || beggining
|-
|a || ab || || open for appending (creates file needif notit doesn't exist) || end
|-
|r+ || rb+ || r+b || open for reading and writing, start|| at beginningbeggining
|-
|w+ || wb+ || w+b || open for reading and writing. (overwriteDeletes content and overwrites the file). || beggining
|-
|a+ || ab+ || a+b || open for reading and writing (append if file exists) || end
|}