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
Very lost on pointers!
Very lost on pointers!
May 31, 2016 at 6:49pm UTC
mistersunnyd
(28)
1
2
char
a[10] = {
'W'
,
'o'
,
'r'
,
'l'
,
'd'
,
'\0'
};
char
*p1 = a;
What is *a? What's the process behind it?
May 31, 2016 at 7:19pm UTC
AbstractionAnon
(6954)
*a dereferences a, which is implicitly a[0], or 'W'.
Topic archived. No new replies allowed.