c - How does one represent the empty char? -


i'm writing little program keep getting error when compiling

error: empty character constant

i realize it's because i'm trying replace valid char empty space c[i]='' have not been able find way represent it.

you can use c[i]= '\0' or c[i] = (char) 0.

the null/empty char value of zero, can represented character escaped zero.


Comments

Popular posts from this blog

codeigniter - Fatal error: Call to undefined function lang() in CI Merchant using CardSave -

javascript - CasperJS/PhantomJS failing SSL handshakes on some sites even with --ssl-protocol=any -

python - Received unregistered task using Celery with Django -