cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
Does a char* end with '\0'?
Does a char* end with '\0'?
May 16, 2016 at 10:45pm UTC
MultiMedia
(84)
Title please.
May 16, 2016 at 11:13pm UTC
Chervil
(7320)
char
*
is a pointer to char. It can point to any character.
You are probably asking about a particular usage, a c-string.
http://www.cplusplus.com/doc/tutorial/ntcs/
May 17, 2016 at 12:14am UTC
Duthomhas
(13206)
Only if you want it to.
http://www.cplusplus.com/faq/sequences/strings/c-strings-and-pointers/
Last edited on
May 17, 2016 at 12:14am UTC
Topic archived. No new replies allowed.