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

java - Run a .jar on Heroku -

java - Jtable duplicate Rows -

validation - How to pass paramaters like unix into windows batch file -