What is the ASCII value of '\0'

Jul 27, 2011 at 6:02pm
'\0' is used to terminate a string. Does anyone knows its ASCII value?
Jul 27, 2011 at 6:14pm
0, of course.
Jul 27, 2011 at 7:08pm
 
printf("%d\n", '\0');


Change \0 for any char you want to get the ASCII value.
Topic archived. No new replies allowed.