cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
What is the ASCII value of '\0'
What is the ASCII value of '\0'
Jul 27, 2011 at 6:02pm UTC
sonucool
(3)
'\0' is used to terminate a string. Does anyone knows its ASCII value?
Jul 27, 2011 at 6:14pm UTC
hamsterman
(4538)
0, of course.
Jul 27, 2011 at 7:08pm UTC
naderST
(52)
printf(
"%d\n"
,
'\0'
);
Change \0 for any char you want to get the ASCII value.
Topic archived. No new replies allowed.