Jun 8, 2012 · Note that \0 is needed because most of Standard C library functions operate on strings assuming they are \0 terminated. For example: While using printf() if you have an string.

Recommended for you

You may also like